View Single Post
 
Old Nov 08, 2017, 02:53 PM
bearguardian's Avatar
bearguardian bearguardian is offline
Poohbah
 
Member Since: Jan 2017
Location: arcturus
Posts: 1,243
Random choice, a coin toss of 0 and 1:
Code:
#!/usr/bin/python
import random
import time
a = "0"
b = "1"
print "0"
time.sleep(1)
print "1"
time.sleep(1)
print "0"
time.sleep(1)
print "1"
time.sleep(1)
print "0"
time.sleep(1)
print "1"
time.sleep(1)
print "and the winner is:"
time.sleep(3)
print random.choice([a, b])
time.sleep(3)
__________________
that weird hidden space:
http://namshub.netii.net/
Thanks for this!
Werewoman