FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonprogram/number guess game at master · zainabcodeplay/pythonprogram · GitHub
zainabcodeplay
pythonprogram
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonprogram
/
number guess game
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (11 loc) · 234 Bytes
Breadcrumbs
pythonprogram
/
number guess game
Copy path
File metadata and controls
12 lines (11 loc) · 234 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
import random
r = random.randint(1,20)
while(True):
inp = int(input())
if(inp<r):
print("oops,try a greater number")
elif(inp>r):
print("oops,try a smaller number")
else:
print("congrats you choosed write number")
break;
Back
|
FazBrowse Home
|
New Git URL