-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist_TupleProblem.py
More file actions
35 lines (31 loc) · 936 Bytes
/
list_TupleProblem.py
File metadata and controls
35 lines (31 loc) · 936 Bytes
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
26
27
28
29
30
31
32
33
34
35
#Input the list of 5 fruit from user and print them
# fruits = []
# f1 = input("Enter the 1st name of fruit :")
# fruits.append(f1)
# f2 = input("Enter the 2nd name of fruit :")
# fruits.append(f2)
# f3 = input("Enter the 3rd name of fruit :")
# fruits.append(f3)
# f4= input("Enter the 4th name of fruit :")
# fruits.append(f4)
# f5 = input("Enter the 5th name of fruit :")
# fruits.append(f5)
# print(Markss)
#enter the 5 marks in the list and sort in order
# Marks = []
# f1 = int(input("Enter the Marks :"))
# Marks.append(f1)
# f2 = int(input("Enter the Marks :"))
# Marks.append(f2)
# f3 = int(input("Enter the Marks :"))
# Marks.append(f3)
# f4= int(input("Enter the Marks :"))
# Marks.append(f4)
# f5 = int(input("Enter the Marks :"))
# Marks.append(f5)
# f6 = int(input("Enter the Marks :"))
# Marks.append(f6)
# Marks.sort()
# print(Marks)
l1 = [34,56, 67, 89, 64, 90]
print(sum(l1))