On 04/09/2013 07:50 AM, Najam Us Saqib wrote:
Hi,

This program is killing me, I have been working on it for last 3 hours, I have 
tried my best but can't make it work, please help me out.

The Problem:

Create a program that flips a coin 100 times and than tells you the number of 
tails and heads.


Nowhere does that say to ask the user for input, or even to wait for user input. So start with Miya's pseudo-code, remove the input stuff, and try to turn that into code.

Keep it very simple till it works, then consider whether any fancy-ing-up is useful.

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

Reply via email to