Menu

Selection - Code Quiz

1. What does this program print?

score = 25 if score > 75: print('Brilliant') elif score > 50: print('Great') elif score > 25: print('Okay') else: print('Try again')
Try again
Brilliant
Okay
Great

2. What does this program print?

answer = 'london' if answer == 'London': print('Correct') else: print('Incorrect')
Correct
london
Correct Incorrect
Incorrect

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic