Wednesday, December 30, 2015

Python 3.4.2 (default, Jun 19 2015, 11:34:49)
[GCC 4.9.1] on linux
Type "copyright", "credits" or "license()" for more information.
>>> import math
>>> math.ceil(math.sqrt(9))
3
>>> math.ceil(math.sqrt(9.5))
4
>>> ================================ RESTART ================================
>>>
37.69911184307752
113.09733552923255
12
31.41592653589793
78.53981633974483
10
>>> ================================ RESTART ================================
>>>
area and perimeter
30
22
>>> ================================ RESTART ================================
>>>
113.09733552923255
78.53981633974483
>>> ================================ RESTART ================================
>>>
>>> =====

No comments:

Post a Comment