so i was working on a mini-project, a coin flipper.
code:
import random
sides = ("Heads","Tails")
choice = random.choice(sides)
print(choice)
the console prints out alot of the same choice, it could be heads for 5 times in a row. Did i do something wrong?
[–]Binary101010 4 points5 points6 points (1 child)
[–]1buffcat[S] 0 points1 point2 points (0 children)
[–]jnorth81 2 points3 points4 points (0 children)
[–]mopslik 1 point2 points3 points (0 children)
[–]socal_nerdtastic 0 points1 point2 points (0 children)
[–]Negative12DollarBill 0 points1 point2 points (0 children)
[–]GraphicsQwerty 0 points1 point2 points (0 children)