Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
guessgame
import random choice=random.randint(0,1000) print("enter any no") num=int(input()) for i in range(3): 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 print(check(choice,num))
run
|
edit
|
history
|
help
0
LinkedHashTable Implementation
oppo mobile
Lesson3
Ej2_python_204676887
камень ножницы бумага
hw11
19.09.18
An attempt at making an encrypting algo in Python.
super
pip install pyowm==2.7.1