Author: Kanchan Kumar

Python TUPLE

What is Tuple in Python? A tuple is just like a list of a sequence of immutable python objects. The distinction between list and tuple is that list are declared in sq. brackets and also can be easily modified whereas tuple is declared in parentheses and can’t be modified. However, you’ll be able to take parts of existing tuples to form new tuples. Tuple Syntax Tup = (‘Jan’,’feb’,’march’) To write an empty tuple, you […]

Conditional Statements and Python loops

What are Conditional Statements? Conditional Statements in Python perform different computations or actions depending on whether a specific Boolean constraint evaluates to true or false. Conditional statements are handled by IF statements in Python. In this tutorial, we will see how to apply conditional statements in Python. What is If Statement? How to Use it? […]

Scroll to top