I am tring to learn python and want to know if i can do this, and how. I am trying to make binary looking code come up digit by digit, with delay. In maybe there is 15 numbers, and each repeat i would like to make it do a set of 5, with a space after.
if answer == 'MAYBE':
deleteall()
print("GIVE ME AN ANSWER!!!")
time.sleep(1)
deletelastline()
for x in maybe:
print(random.choice("1" "0"))
time.sleep(0.1)
print(random.choice("1" "0"))
time.sleep(0.1)
print(random.choice("1" "0"))
time.sleep(0.1)
print(random.choice("1" "0"))
time.sleep(0.1)
print(random.choice("1" "0"))
time.sleep(0.1)
print(" ")
However, it outputs this:
0
1
1
0
0
1
0
0
0
1
1
ext.
How do i get them on one line?!? Thx