Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #92194
| Date | 2015-06-07 08:14 +1000 |
|---|---|
| From | Cameron Simpson <cs@zip.com.au> |
| Subject | Re: Using "import math". |
| References | <d7f2716a-50a0-4a67-b506-bf3ac875482b@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.224.1433630258.13271.python-list@python.org> (permalink) |
On 06Jun2015 15:03, Steve Burrus <steveburrus28@gmail.com> wrote:
>I need some help/assistance with using the python "import math" function. Like I am trying to do a = math.sqrt(1000)
> a.sqrt
>but it fails. what am I doing wrong? Thanx for anyone's help.
Please post a tiny but complete example piece of code showing the problem so
that others can run it. Please also post the error message; if it is a stack
trace, include the full stack trace.
Thanks,
Cameron Simpson <cs@zip.com.au>
[The Press] had tried to contact usenet but that no one had been available
for comment. That's odd, I thought, if there's one thing you can say about
usenet, its that there's usually someone available for comment.
- Paul Taylor
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Using "import math". Steve Burrus <steveburrus28@gmail.com> - 2015-06-06 15:03 -0700 Re: Using "import math". MRAB <python@mrabarnett.plus.com> - 2015-06-06 23:35 +0100 Re: Using "import math". Cameron Simpson <cs@zip.com.au> - 2015-06-07 08:14 +1000
csiph-web