3 תשובות
grades = []
for i in range(8):
grades.append(int(input("please enter grade: "))
print("your average grade is ", sum(grades) / len(grades))
for i in range(8):
grades.append(int(input("please enter grade: "))
print("your average grade is ", sum(grades) / len(grades))
'''python
ציונים = []
for i in range(8):
ציונים.append(int(input("הכנס ציון: ")))
ממוצע = sum(ציונים) / len(ציונים)
print("הממוצע הוא:", ממוצע)
'''
ציונים = []
for i in range(8):
ציונים.append(int(input("הכנס ציון: ")))
ממוצע = sum(ציונים) / len(ציונים)
print("הממוצע הוא:", ממוצע)
'''
שמע שאתה טרולר מטורף ^
אנונימי