Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
kaam ki chiz
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(19): num=int(input()) print(check(choice,num))
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Ghost 👻👻👻👻👻 Game 👻👻👻👻👻👻
Lesson 4 HW
Add missing names
Game2
variables.py
playing around with python
fibonacciseries
Points
ass
Girrafe
Please log in to post a comment.