PYTHON BEGINNERS - 11 : TUPLES

 IN THIS TUTORIAL, WE WILL GO THROUGH TUPLES:


coordinates = (7, 2) #--> tuples uses this parenthesis small brackets
coordinates[1] = 8 #--> tuples are immutable
print(coordinates[1])

Comments

Popular posts from this blog

PYTHON FULL NOTES BY SHAYAN