- 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
4 ответов
+ 3
math = int(input())
english = int(input())
science = int(input())
print(math+english+science)
# is this what you want?
+ 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)
- 3
No its not correct
- 3
I want a proper solution and It will be
"maths" ('enter marks of maths')