Thursday, January 7, 2021

Python code for student result system

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

Learning to Appreciate the Right People ❤️ | A Life Lesson About Gratitude, Friendship & Kindness

  https://www.youtube.com/watch?v=FdWsa0QwO2w Hi, namaste camo. So uh recently I have been experiencing this and it has changed a really uh ...