Input

PHOTO EMBED

Mon Sep 25 2023 18:39:15 GMT+0000 (Coordinated Universal Time)

Saved by @Duhita0209 #prompt #for

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}")
content_copyCOPY