index | next >

Variables, Conditionals, and Built-in Functions

answer = "17"
guess = input('Guess a number between 1 and 100: ')

if guess == answer:
    print('You win!')
else:
    print('You lose!')

index | next >