roll_no=input("Enter roll number:")
name=input("Enter name:")
city=input("Enter city:")
eng=int(input("Enter English Marks:"))
maths=int(input("Enter Maths Marks:"))
sci=int(input("Enter Science Marks:"))
total=eng+maths+sci
average=total/3
print("Roll Number:",roll_no)
print("Name:",name)
print("City:",city)
print("English Marks:",eng)
print("Maths Marks:",maths)
print("Science Marks:",sci)
print("Total Marks:",total)
print("Average:",average)
No comments:
Post a Comment