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
Hello world
Game3
json array object loop
Select fruits
What regex will match these lines?
Ваня и забор
Python3 - select fruits
Code
gj2
Nitin phate