Write a program in Python to accept
Name of the student
Marks of the student in the following 5 subjects (each out of 100) :
English
Hindi
Mathematics
Science
Social Studies
Find and display the following with appropriate messages:
“ Hello! NAME OF THE STUDENT”
Total marks obtained
Percentage
Average Marks obtained
Answers
Answered by
1
Explanation:
students = []
marks = []
num = input("How many students?: ")
for i in num:
name = input("input name of student "+ i)
students.append(name)
mark = input("input mark of the student")
marks.append(mark)
for i in num:
print(students[i] + ": "marks[i])
Similar questions