Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
10. Multiply by 2
Spocoman
Dec 22nd, 2021
170
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
while
True
:
number
=
float
(
input
(
)
)
if
number
>=
0
:
print
(
f
"Result: {number * 2:.2f}"
)
else
:
print
(
"Negative number!"
)
break
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
I made $15,000 in 2 hours
CSS | 2 min ago | 0.24 KB
✅ API Glitch (Docs Leak)
CSS | 2 min ago | 0.24 KB
This summer smells like money
CSS | 2 min ago | 0.24 KB
I made $15,000 in 2 hours
CSS | 1 hour ago | 0.24 KB
✅ API Glitch (Docs Leak)
CSS | 1 hour ago | 0.24 KB
This summer smells like money
CSS | 1 hour ago | 0.24 KB
Adding Stripe invoice API param
3 hours ago | 0.70 KB
Asklepios Klinik Nord – Heidberg
19 hours ago | 20.98 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!