Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
guesssss
import random choice=random.randint(0,20) print("enter any no") def check(choice,num): if num==choice: return "correct you won" elif num<=choice: return num,"is smaller guess,correct ans is",choice else: return num,"is larger guess,correct ans is",choice for i in range(0,3): num=int(input()) print(check(choice,num))
run
|
edit
|
history
|
help
0
Ball
Myone
reverse the number
Remove all Adjacent duplicates using a loop
Skillenza- Subjects
queue and stack
restraunt score
Ej2_python_204676887
pip install pyowm==2.7.1
python codewars