Exercise: else statement - run else

Change the condition to ensure that the code inside the else-block is executed. The program should print 2.
num = 0 # change condition here...
if num < 2:
num = 1 else: num = 2 print(num) # expected output: 2
Python
Setting up Python environment...
Output