Write a python to accept marks of four subjects and display their total and percentage
Answers
Answered by
1
Answer:
Explanation:
marks=[int(x) for x in input("enter four subject marks").split( )]
total=0
for i in marks:
total+=i
percentage=total*100/400
print(f"total:{total}, Percentage:{percentage}")
Similar questions
English,
3 months ago
Social Sciences,
3 months ago
Math,
3 months ago
Physics,
8 months ago
Biology,
1 year ago