+ 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)
1 Answer