Re: ZeroDivisionError: float division (baby steps)

Discussion in 'Python' started by Timothy Fitz, Oct 27, 2004.

  1. Timothy Fitz

    Timothy Fitz Guest

    > 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.
     
    Timothy Fitz, Oct 27, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bd
    Replies:
    0
    Views:
    651
  2. Artemisio
    Replies:
    6
    Views:
    13,277
    Artemisio
    Aug 21, 2004
  3. Artemisio

    line shift? (baby steps 2)

    Artemisio, Aug 23, 2004, in forum: Python
    Replies:
    6
    Views:
    334
    Jeff Lindholm
    Aug 24, 2004
  4. U S Contractors Offering Service A Non-profit

    Baby steps to the "New" New Orleans

    U S Contractors Offering Service A Non-profit, Nov 16, 2006, in forum: C Programming
    Replies:
    0
    Views:
    316
    U S Contractors Offering Service A Non-profit
    Nov 16, 2006
  5. W. Watson

    Baby Steps, optionDB

    W. Watson, Aug 23, 2007, in forum: Python
    Replies:
    9
    Views:
    531
    Carsten Haese
    Aug 23, 2007
Loading...

Share This Page