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 f51cacf commit 160936bCopy full SHA for 160936b
data_structures/2_Arrays/Array_Attempt/array_sol.py
@@ -2,3 +2,8 @@
2
3
print(f"Dollars spent extra in Feb compared to Jan: {exp[1] - exp[0]}")
4
print(f"First quarter expense: {sum(exp[0:3])}")
5
+print("Did I spend 2000 exactly?", 2000 in exp)
6
+exp.append(1980)
7
+exp[4] = exp[4] - 200
8
+print(exp)
9
+
0 commit comments