We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5080cb commit 9d43ce0Copy full SHA for 9d43ce0
Python/Array/Main.py
@@ -0,0 +1,19 @@
1
+variable_list = [1, "Billy", 1.5, True]
2
+
3
+for item in variable_list:
4
+ print(f"Item: {item}, Type: {type(item)}")
5
6
+variable_list.append("Fenny")
7
8
+for index, item in enumerate(variable_list):
9
+ print(f"Index: {index}, Item: {item}")
10
11
+variable_list.remove(1.5)
12
13
14
15
16
+variable_list.insert(2, "Sendy")
17
18
19
0 commit comments