Skip to content

Commit 8e4ebe9

Browse files
Create sajid007
1 parent f167a92 commit 8e4ebe9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

sajid007

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#1. January - 2200
2+
#2. February- 2350
3+
#3. March - 2600
4+
#4. April - 2130
5+
#5. May - 2190
6+
#6. June - 1980
7+
8+
lst=[2000,2350,2600,2130,2190]
9+
print("testing=",lst[0])
10+
print("Extra money spent in feb=",lst[1]-lst[0])
11+
print("first quarter total expense=",lst[0]+lst[1]+lst[2])
12+
print("Did spent 2000 in any month=",2000 in lst)
13+
lst.append(1980)
14+
print("June expenses", lst[5])
15+
lst[3]+=200
16+
print("updated list=",lst[3])

0 commit comments

Comments
 (0)