Answer to Question #286315 in Python for Luigie

Question #286315

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



1
Expert's answer
2022-01-10T13:54:59-0500
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?')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS