FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
PythonCodeForNumbers/python.py at master · bhatharshabhat/PythonCodeForNumbers · GitHub
bhatharshabhat
/
PythonCodeForNumbers
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
PythonCodeForNumbers
/
python.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (19 loc) · 347 Bytes
Breadcrumbs
PythonCodeForNumbers
/
python.py
Copy path
File metadata and controls
21 lines (19 loc) · 347 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
13
14
15
16
17
18
19
20
21
while
True
:
n
=
input
(
'Number'
)
break
n
=
int
(
n
)
a
=
n
b
=
n
*
100
while
True
:
num
=
input
(
"Enter a number: "
)
try
:
num
=
int
(
num
)
if
num
>
a
:
a
=
num
elif
num
<
b
:
b
=
num
except
:
print
(
'Invalid input'
)
if
num
==
"done"
:
break
print
(
"Maximum is"
,
a
)
print
(
'Minimum is'
,
b
)
Back
|
FazBrowse Home
|
New Git URL