x = int(input("Please enter an integer: ")) Please enter an integer: 42 #getting input from user >>> if x < 0: #1st condition ... x = 0 ... print('Negative changed to zero') ... elif x == 0: #2nd condition ... print('Zero') ... elif x == 1: #3rd condition ... print('Single') ... else: #4th condition ... print('More')