Answers for "using tuples in python"

0

python create tuple from input

t = input()
a = tuple(int(x) for x in t.split())
#view this tuple
print(a)
Posted by: Guest on May-20-2020
-1

how to view a tuple

data[0]
Posted by: Guest on June-24-2020

Python Answers by Framework

Browse Popular Code Answers by Language