News

# 1. Create tuple of numbers 1 to 10. # 2. Create single value tuple. # 3. Create one number element tuple and square all the elements in that tuple and # store in new list. # 4. Write a Python ...
PYTHON_Assignment. Contribute to Anushan100/Tuples-Set_PYTHON_Assignment development by creating an account on GitHub.
In python tuple is an immutable objects means it can not be changed, only we can create. alike list tuple are a sequence but the difference is tuple use parentheses "()" where as list uses ...
But in our program we will represent an interval by means of a tuple and tuples in Python are represented with parentheses. If we have two intervals like (7, 12) and (4, 9), they overlap. We can ...