Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
If, Elif and Else (Python)
SUBMITTED BY:
Guest
DATE:
May 1, 2013, 12:44 a.m.
FORMAT:
Python
SIZE:
248 Bytes
Raw
Download
Tweet
HITS:
1373
Go to comments
Report
bitcoin_amount
=
1
if
bitcoin_amount
==
1
:
print
"You have the perfect amount!"
elif
bitcoin_amount
>
1
:
print
"You have enough, here is your change."
else
bitcoin_amount
<
1
:
print
"You have insufficient funds."
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus