Course Content
What is Python?
Introduction of Python and Its setup
Control Statement
Control statements are used to control the flow of execution depending upon the specified condition/logic.
File Handling
File handling is an important component of any application. Python has multiple functions for creating, reading, updating, and deleting files.
Following are the examples of python scripts to try hands-on, you are ready to start your python journey.
Private: Python
About Lesson

A tuple is a collection of ordered objects. Tuple is an immutable object. Tuple is faster as compared to the list.

In Python, a tuple is created by placing all the elements inside parentheses (), separated by commas (,).


numbers = ('one', 'two', 'three')
Function Description
tuple(seq) converts a list into a tuple
min(tuple) returns item from the tuple with a minimum value
max(tuple) returns item from the tuple with maximum value
len(tuple) gives the total length of the tuple
cmp(tuple1, tuple2) compares elements of both tuples