fork download
  1. number = int(input("what is your number from 1- 50: "))
  2. if number < 20:
  3. print("smaller than 20")
  4. elif number> 20:
  5. print('bigger than 20')
  6. else:
  7. print("equal to 20")
Success #stdin #stdout 0.02s 9164KB
stdin
20

stdout
what is your number from 1- 50:  equal to 20