Code and Output
Code and Output
Problem Statement 1:- Design a simple calculator with basic arithmetic operations. Prompt the
user to input two numbers and an operation choice. Perform the calculation and display the result.
#getting information
def game():
while True:
#user selecting his move
user_choice=input("Enter your move(rock/paper/scissors): ")
print("You chose", user_choice)
if __name__ =="__main__":
game()
Output:-