Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92193

Re: Using "import math".

Date 2015-06-06 23:35 +0100
From MRAB <python@mrabarnett.plus.com>
Subject Re: Using "import math".
References <d7f2716a-50a0-4a67-b506-bf3ac875482b@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.223.1433630152.13271.python-list@python.org> (permalink)

Show all headers | View raw


On 2015-06-06 23:03, Steve Burrus 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.
>
In what way does it fail?

If it printed an error message, copy and paste it in its entirety.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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