0
Python code help. So I was triying to do a average calculator that could use a input variable to determine a infinite(not sure)
mount_of_grades = int(input ('Amount of grades: ')) name_of_the_student = input('Name of the student: ') grades_student = input(amount_of_grades * 'Grade: ') average_grade = grades_student / amount_of_grades print ('The average grade of {} is {}.'.format(name_of_the_student,average_grade))
2 Respostas
+ 1
Save code in python playground here and share link. Otherwise it's difficult to debug and find errors, especially identation mistakes...
amount_of_grades is undefined..
0
oh ok