# L-8 MCS 260 Fri 14 Sep 2007 illustration of if else # # This program prompts the user to enter a number. # If the number entered is larger or equal than 80, # then the user is congratulated, else we are sorry. # n = input('Enter your score : ') if n >= 80: print('Congratulations. You passed!') else: print('Sorry. Please try again...')