write a python coding for accept three mark and print total ,avarage.
Answers
Answered by
1
Answer:
s=0
For i in range(3):
x=int(input('Enter marks'))
s=s+x
print('Total marks is',s)
print('Average marks is',s/3)
Answered by
0
Answer:
Python Coding Question to accept three marks and print total and average.
Explanation:
Num1= int(input("Enter Number 1"):
Num2= int(input("Enter Number 2:")
Num3= int(input("Enter Number 3:")
Total=Num1+Num2+Num3
Average=(Total/3)
print(Total)
print(Average)
Similar questions