+ 1
Can anyone help me how do i do this question
Do a code that is used to creat a program that asks the user to input any number then check if the number is more than 100 it will print you win otherwise will print try later
2 Respuestas
+ 18
● take user input as an Integer //let it be n
● make use of if() & else statements
// if(n>100) print "you win"
else print "try later"
//this is very basic way to do it in any language👍
+ 1
num = input(Enter a number: )
If num>100:
print("You win!")
else:
print("Try later")