# read some int input, let's two of them x = int(input()) # read with no prompt, convert to int y = input("Integer please: ") try: y = int(y) # now convert to Integer # do something with them print(x + y) except ValueError: print("You didn't type an integer. Bad you.") # pass