Notes/ML/TuplesProgram-200808-182244.py

15 lines
252 B
Python

my_marks = (24, 14, 45, 75, 100)
#once we add - you cannot change - no insert , remove , edit modify
# only 2 methods - no remove,clear,pop
print(my_marks[2])
# now try assigning and test
my_marks[1] = 100
gps_loction_my_home = (12.344, 32.123)