maths.largest_of_very_large_numbers

Attributes

prompt

Functions

res(x, y)

Reduces large number to a more manageable number

Module Contents

maths.largest_of_very_large_numbers.res(x, y)

Reduces large number to a more manageable number >>> res(5, 7) 4.892790030352132 >>> res(0, 5) 0 >>> res(3, 0) 1 >>> res(-1, 5) Traceback (most recent call last): … ValueError: math domain error

maths.largest_of_very_large_numbers.prompt = 'Enter the base and the power separated by a comma: '