What is wrong with this? "Python"
#quiz1 quiz1 = "11" if not quiz1.isdigit(): print("Please enter a whole number") quit() #total quiz1 quizTotal1 = "20" #manage whole number if not quizTotal1.isdigit(): print("Please enter a whole number") quit() #if error if quiz1 > quizTotal1: print("Score cannot be greater than total") quit() #compute else: quiz1 = int(quiz1) quizTotal1 = int(quizTotal1) total = (((quizTotal1/quiz1)*100)*.10) print(total) *There will be an output But... #quiz1 quiz1 = "6" if not quiz1.isdigit(): print("Please enter a whole number") quit() #total quiz1 quizTotal1 = "11" #manage whole number if not quizTotal1.isdigit(): print("Please enter a whole number") quit() #if error if quiz1 > quizTotal1: print("Score cannot be greater than total") quit() #compute else: quiz1 = int(quiz1) quizTotal1 = int(quizTotal1) total = (((quizTotal1/quiz1)*100)*.10) print(total) Will give Score cannot be greater than total? Heeeelp.