We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 084ae86 commit 7eeb253Copy full SHA for 7eeb253
05. Tuple & Lists/Simple.py
@@ -5,4 +5,9 @@
5
6
print(f"first dimension is: {dimensions[0]}")
7
8
+# dimensions [0] = 250 # this will give error. because tuple is immutable
9
10
+# you can reassign a tuple for e.g
11
+
12
+dimensions = (100,200)
13
+print(f"first dimension is: {dimensions[0]}")
0 commit comments