Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

halkazi Group Title

All of a sudden, my Python compiler is giving a line after all my results saying "None". Looks like it is printing the value of some variable. I closed all programs and reopened, etc, but it still continues. Any clues?

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. rsmith6559 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Looks like a function is returning a None value.

    • 2 years ago
  2. halkazi Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    And how would I find that out?

    • 2 years ago
  3. andrew.m.higgs Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Look through your code and check if any of your procedure are not returning. Alternately, you could paste the code so others could take a look an possibly spot the problem for you.

    • 2 years ago
  4. msmithhnova Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    you are likely using a print statement inside a function when you want to use a return statement

    • 2 years ago
  5. halkazi Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Looks like I had accidentally uncommented one of the Comment lines way below in the template. Thanks for all the replies.

    • 2 years ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.