- 4

Please explain me this Write a program to take marks of Maths,English and Science from the user calculate its sum and display it

2nd Feb 2021, 7:22 AM
santosh sharma
santosh sharma - avatar
4 Answers
+ 3
math = int(input()) english = int(input()) science = int(input()) print(math+english+science) # is this what you want?
2nd Feb 2021, 7:29 AM
Artem đŸ‡ș🇩
Artem đŸ‡ș🇩 - avatar
+ 1
santosh sharma , Can you explain more what do you want ,, because the previous code obtain the sum of the marks .. exactly like this: m=int(input("math")) s=int(input("science")) e=int(input("english")) mark=m+s+e print(mark)
2nd Feb 2021, 8:02 AM
Ahmed Ibrahim
Ahmed Ibrahim - avatar
- 3
No its not correct
2nd Feb 2021, 7:35 AM
santosh sharma
santosh sharma - avatar
- 3
I want a proper solution and It will be "maths" ('enter marks of maths')
2nd Feb 2021, 8:04 AM
santosh sharma
santosh sharma - avatar