forked from Team-Vaayushastra/GUI-tasks
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtemp.py
More file actions
17 lines (16 loc) · 667 Bytes
/
temp.py
File metadata and controls
17 lines (16 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'''n = int(input("Enter number of elements in list: "))
A = list(map(int, input("Enter list elements: ").strip().split())) [:n]'''
#student_grades_updated = [value for value in student_grades if value[1] >= fail]
if __name__ == '__main__':
stu_gra = []
low_stu = []
lowest = 100
for _ in range(int(input(""))):
name = input()
score = float(input())
stu_gra.append([name,score])
if score < lowest:
lowest = score
print("student_grades: "+str(stu_gra))
student_grades_updated = [value for value in student_gra if value[1] >= fail]
print("updated student_grades: "+str(stu_gra_up))