ubuntu2004
Kernel: Python 3 (system-wide)
Exercise 23.1
In Exercise 3.5 you calculated the circumference and area of a circle of radius 5.4 cm.
Repeat the exercise but using the value of in the math
module.
In [3]:
Out[3]:
33.929200658769766
Exercise 23.2
Using the statistics
module, calculate the mean and standard deviation of the following list of bat wingspans. The documentation for the statistics module is here.
In [6]:
Out[6]:
19.883783783783784
2.259695448687304
Exercise 23.3
Search online for a module to randomly choose an item from a list.
Use the module to randomly choose an item from the following list.
Print the chosen item.
In [14]:
Out[14]:
Entebbe