-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpractice_16.py
More file actions
25 lines (16 loc) · 1.1 KB
/
Copy pathpractice_16.py
File metadata and controls
25 lines (16 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Write a program to accept marks of 6 student's and disply them in a stored manner..
marks = [] # create a impty list's ..
f1 = int(input("Enter Marks Here: ")) # input leta h user's ke through as a 'int' ..
marks.append(f1) # isse help se given list ko end me add krta h ..
f2 = int(input("Enter Marks Here: ")) # input leta h user's ke through as a 'int' ..
marks.append(f2) # isse help se given list ko end me add krta h ..
f3 = int(input("Enter Marks Here: ")) # input leta h user's ke through as a 'int' ..
marks.append(f3) # isse help se given list ko end me add krta h ..
f4 = int(input("Enter Marks Here: ")) # input leta h user's ke through as a 'int' ..
marks.append(f4) # isse help se given list ko end me add krta h ..
f5 = int(input("Enter Marks Here: ")) # input leta h user's ke through as a 'int' ..
marks.append(f5) # isse help se given list ko end me add krta h ..
f6 = int(input("Enter Marks Here: ")) # input leta h user's ke through as a 'int' ..
marks.append(f6) # isse help se given list ko end me add krta h ..
marks.sort() # ye arrange krta h in order ..
print(marks) # print & return ..