<reponame>TacPhoto/Learning
tuple = ('Sth', 123, 'Something')
print(tuple)
print(tuple[0])

first, second, third = tuple #assign tuple's info to variables
print(second)
print(third)

oneElementTuple = (7,) #without the coma, the oneElementTuple becomes a variable, not a tuple
print(oneElementTuple)
tuple = ('Sth', 123, 'Something')
print(tuple)
print(tuple[0])

first, second, third = tuple #assign tuple's info to variables
print(second)
print(third)

oneElementTuple = (7,) #without the coma, the oneElementTuple becomes a variable, not a tuple
print(oneElementTuple)
#assign tuple's info to variables #without the coma, the oneElementTuple becomes a variable, not a tuple