Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Number Between 1 and 100
DiYane
Jul 2nd, 2023
(
edited
)
886
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.13 KB
| Help
|
0
0
raw
download
clone
embed
print
report
num
=
float
(
input
(
)
)
while
num
<
1
or
num
>
100
:
num
=
float
(
input
(
)
)
print
(
f
"The number {num} is between 1 and 100"
)
Tags:
python
fundamentals
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Nine Domains for Sale
7 hours ago | 0.60 KB
How to Reorder Pages
Python | 1 day ago | 7.77 KB
How to Extract Pages from PDF
Python | 1 day ago | 8.76 KB
How to Add Header or Footer
Python | 1 day ago | 11.39 KB
tmp
1 day ago | 0.03 KB
Untitled
2 days ago | 9.20 KB
Tabs
2 days ago | 1.39 KB
temp sglang key
3 days ago | 0.07 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!