Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: ZeroDivisionError: float division (baby steps)

Reply
Thread Tools

Re: ZeroDivisionError: float division (baby steps)

 
 
Timothy Fitz
Guest
Posts: n/a
 
      10-27-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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
float to string to float, with first float == second float Carsten Fuchs C++ 45 10-08-2009 09:47 AM
division by 7 without using division operator krypto.wizard@gmail.com C Programming 94 02-09-2007 06:57 AM
Division by zero: float vs. int Razvan Java 77 10-19-2004 03:42 AM
ZeroDivisionError: float division (baby steps) Artemisio Python 6 08-21-2004 05:55 PM
Re: float->byte->float is same with original float image. why float->ubyte->float is different??? bd C Programming 0 07-07-2003 12:09 AM



Advertisments