Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
guess123
import random choice=random.randint(0,1000) print("enter any no\nand i'll let you know wheather you have guessed a right no or near to it") num=int(input()) def check(choice,num): if num==choice: return "correct" elif num<=choice: return "smaller guess" else: return "larger guess" print(check(choice,num))
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Mixing string with number
list of primes
chickens,cows,pigs
word repeat
H
RANDOM NUMBER
Byear
PyTempConvDIP
My name
Bucket sort using LinkedList for each bucket
Please log in to post a comment.