print("hello " + input("What is your name?") + "!") first player pick two digit number and then second player pick another two digit number. now add both the numbers and show me the result. player_one = int(input("pick a two digit number: ")) player_two = int(input("pick a two digit number: ")) answer = player_one + player_two print(f"The result is {answer}")
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter