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

jim_10__

Hello, I am using Python 2.7.3 32 bit in a Windows 7 Home Premium OS, and for some reason I cannot the the logarithmic function to work. I have attempted to <import math> and this didn't work either. Can anyone tell me how to resolve this situation? Thanks.. Jim

  • one year ago
  • one year ago

  • This Question is Open
  1. Gianko15
    Best Response
    You've already chosen the best response.
    Medals 1

    I doesn't matter the OS I think, try this line: from math import *

    • one year ago
  2. jim_10__
    Best Response
    You've already chosen the best response.
    Medals 0

    OK I will do that and see what happens,

    • one year ago
  3. jim_10__
    Best Response
    You've already chosen the best response.
    Medals 0

    it now gives me undefined 'from'

    • one year ago
  4. jim_10__
    Best Response
    You've already chosen the best response.
    Medals 0

    I put it from math import*

    • one year ago
  5. jim_10__
    Best Response
    You've already chosen the best response.
    Medals 0

    that didn't work either

    • one year ago
  6. jim_10__
    Best Response
    You've already chosen the best response.
    Medals 0

    Now it say no module named modulemath.py

    • one year ago
  7. Gianko15
    Best Response
    You've already chosen the best response.
    Medals 1

    Don't post a lot is like ... spamming, try several options and make one good post. I have 2.7.3 Python on a 64-bit W7, so is not the OS as I said I try this line and it work perfectly: from math import * print log(3)

    • one year ago
  8. jim_10__
    Best Response
    You've already chosen the best response.
    Medals 0

    OK sorry about that Gianko, this is my first time to use this I didn't know how it works yet., but thanks for your help

    • one year ago
  9. Gianko15
    Best Response
    You've already chosen the best response.
    Medals 1

    Ok don't worry, I get dizzy reading post after post actually; attach your code, maybe is something else, or you miss a space like on your 3rd post, between 'import' and '*'.

    • one year ago
  10. jim_10__
    Best Response
    You've already chosen the best response.
    Medals 0

    OK the log function worked that time so believe it is OK now, that last time I put a space after the word import and before the * where as before I left out the space, So thank you very much Gianko 15, Jim

    • one year ago
  11. Gianko15
    Best Response
    You've already chosen the best response.
    Medals 1

    (y) great then!! that little mistakes makes our lives misserable haha, cya.

    • one year 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.