Dawn Samson wrote:

I've been trying to work on this challenge for a while now and can't
get it to work (either it has 100 heads or 100 tails).

Unfortunately your code has been mangled in the email, but I can guess your problem: you need to set

coin = random.randrange(2)

each time through the loop, not just once outside the loop.



--
Steven
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to