ZeroDivisionError: float division (baby steps)

Timothy Fitz firemoth at gmail.com
Wed Oct 27 19:37:32 CEST 2004


> Hi , Im new to Python can you help.
> Trying to create a program that  I can entered  10 random numbers and get an
> average at the end of a for loop. 
> Stumped 

To truly debug your program, you would have to paste the source here,
but in general the error you are getting means exactly what it says:
You're dividing by zero. Most likely when you find your average,
whatever you're dividing by is zero.



More information about the Python-list mailing list