Math Library

A forum for general discussion of the Python programming language.

Math Library

Postby b849961@drdrb.com » Mon Jan 06, 2014 7:00 am

What are the all functions in math library?
My Python Version is 3.2.3
b849961@drdrb.com
 
Posts: 13
Joined: Thu Oct 24, 2013 12:41 pm

Re: Math Library

Postby stranac » Mon Jan 06, 2014 8:42 am

Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1093
Joined: Thu Feb 07, 2013 3:42 pm

Re: Math Library

Postby b849961@drdrb.com » Mon Jan 06, 2014 10:31 am



Thanks...
My Python Version is 3.2.3
b849961@drdrb.com
 
Posts: 13
Joined: Thu Oct 24, 2013 12:41 pm

Re: Math Library

Postby Mekire » Mon Jan 06, 2014 1:33 pm

In the future you can at least try this to get an idea:
Code: Select all
>>> import math
>>> dir(math)

Results:
Code: Select all
['__doc__',
 '__name__',
 '__package__',
 'acos',
 'acosh',
 'asin',
 'asinh',
 'atan',
 'atan2',
 'atanh',
 'ceil',
 'copysign',
 'cos',
 'cosh',
 'degrees',
 'e',
 'erf',
 'erfc',
 'exp',
 'expm1',
 'fabs',
 'factorial',
 'floor',
 'fmod',
 'frexp',
 'fsum',
 'gamma',
 'hypot',
 'isinf',
 'isnan',
 'ldexp',
 'lgamma',
 'log',
 'log10',
 'log1p',
 'modf',
 'pi',
 'pow',
 'radians',
 'sin',
 'sinh',
 'sqrt',
 'tan',
 'tanh',
 'trunc']

-Mek
User avatar
Mekire
 
Posts: 979
Joined: Thu Feb 07, 2013 11:33 pm
Location: Amakusa, Japan

Re: Math Library

Postby b849961@drdrb.com » Wed Jan 15, 2014 2:40 am

Mekire wrote:In the future you can at least try this to get an idea:
Code: Select all
>>> import math
>>> dir(math)

Results:
Code: Select all
['__doc__',
 '__name__',
 '__package__',
 'acos',
 'acosh',
 'asin',
 'asinh',
 'atan',
 'atan2',
 'atanh',
 'ceil',
 'copysign',
 'cos',
 'cosh',
 'degrees',
 'e',
 'erf',
 'erfc',
 'exp',
 'expm1',
 'fabs',
 'factorial',
 'floor',
 'fmod',
 'frexp',
 'fsum',
 'gamma',
 'hypot',
 'isinf',
 'isnan',
 'ldexp',
 'lgamma',
 'log',
 'log10',
 'log1p',
 'modf',
 'pi',
 'pow',
 'radians',
 'sin',
 'sinh',
 'sqrt',
 'tan',
 'tanh',
 'trunc']

-Mek


Thanks a lot...
My Python Version is 3.2.3
b849961@drdrb.com
 
Posts: 13
Joined: Thu Oct 24, 2013 12:41 pm


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 2 guests