+ 4

Why is my code wrong? Python question

Guys can anyone tell what is the mistake i did in this program code for finding the total marks obtained in three subjects?(Thanks!) mark1=float(input(“Enter the marks obtained in first subject:”)) mark2=float(input(“Enter the marks obtained in second subject:”)) mark3=float(input(“Enter the marks obtained in third subject:”)) Total=mark1+mark2+mark3 print(“The total marks obtained is”,Total) —->(when I try to execute this, it shows error in ouput)

3rd Sep 2019, 3:48 PM
Mohamed Arshad
Mohamed Arshad - avatar
1 Answer