Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
FakeCoins - because Bitcoins are just too real
SUBMITTED BY:
Guest
DATE:
April 15, 2013, 7:52 p.m.
FORMAT:
Python
SIZE:
490 Bytes
Raw
Download
Tweet
HITS:
1220
Go to comments
Report
import
random
,
os
fakecoins
=
0
difficulty
=
0
block
=
random
.
randint
(
difficulty
,
256
*
difficulty
)
while
True
:
number
=
random
.
randint
(
0
,
256
*
difficulty
)
if
number
==
block
:
os
.
system
(
'cls'
)
# Windows
#os.system('clear') #Linux
fakecoins
+=
1
difficulty
+=
1
print
'Fake Coins:'
,
fakecoins
print
'Difficuly :'
,
difficulty
block
=
random
.
randint
(
difficulty
,
256
*
difficulty
)
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus