Computer Science, asked by ayushkumar7660, 16 days ago

. Application based questions.
Aman wants to create a program in Python to calculate the average marks scored by his friends. He wants to
calculate average marks of his five friends. Suggest, Aman an iterative statement that he can use in the program
SE​

Answers

Answered by mitalirani
1

Answer:

#To calculate the average marks of 6 subject

a= int(input("Maths marks"))

b=int(input ("Science marks"))

c=int(input ("Social science marks"))

d=int(input ("2nd language marks"))

e=int(input ("English marks"))

f=int(input("computer marks"))

Average marks=a+b+c+d+e+f/6

Print ("Average marks:",Average marks)

Explanation:

is this what u wanted??

Similar questions