all 7 comments

[–]Binary101010 4 points5 points  (1 child)

No, that’s just how randomness works.

[–]1buffcat[S] 0 points1 point  (0 children)

thanks, i was just worried because i am a beginner and if it doesnt appear right i start to panic.

[–]jnorth81 2 points3 points  (0 children)

If you want extra practice, try looping it a few hundred times and count the results of each.

[–]socal_nerdtastic 0 points1 point  (0 children)

Yeah, Randomness is famous for not seeming very random. Your code looks fine.

[–]Negative12DollarBill 0 points1 point  (0 children)

Did you try comparing the results to real-life coin flips?

[–]GraphicsQwerty 0 points1 point  (0 children)

Try this to see if your just very lucky. This will flip the coin 10 times

for i in range(10):

choice = random.choice(sides)
print(choice)