fork download
  1. x = int(input("Please enter an integer: "))
  2.  
  3. if x < 0:
  4. x = 0
  5. print('Negative changed to zero'x)
  6. elif x == 0:
  7. print('Zero'x)
  8. elif x == 1:
  9. print('Single'x)
  10. else:
  11. print('More'x)
  12.  
Runtime error #stdin #stdout 0.02s 5852KB
stdin
-34
stdout
Standard output is empty