Run Code
|
API
|
Code Wall
|
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
PySlots
Minimum Positive Integer
square function
PyMenuClass2
My webapp demo
PyMetaParam
lhp-1
>= Number regex generator for Annish
prog1.py
Reverse the string in python