Create a python program of this output.
Output:
1 - Output 1
2 - Output 2
3 - Output 3
Enter your Choice: 2
Enter your name: Luigie Santos
Enter your grade in Math: 90
Enter your grade in P.E.: 87
Enter your grade in English: 92
Enter your grade in Science: 83
Enter your grade in Physics: 97
Luigie Santos, this is your gwa 89.8
You got a/an Very Satisfactory grade!
Do you want to try again?: Y
decision = ''
while decision != 'no':
print("1 - Output 1 \n 2 - Output 2 \n 3 - Output 3")
choice = input('Enter your choice')
name = input("Enter your name:")
math= int(input('Enter your grade in Math:'))
PE= int(input('Enter your grade in P.E.:'))
english= int(input('Enter your grade in English:'))
science = int(input('Enter your grade in Science:'))
physics = int(input('Enter your grade in Physics:'))
gwa = (math + PE + english + science + physics) / 5
print(name, 'this is your gwa', gwa)
if gwa > 80:
print('You got a/an very satisfactory grade!')
else:
print('You did not get a/an very satisfactory grade!')
decision= input('Do you want to do it again?')
Comments
Leave a comment