Try out these exercises at home. These are just examples. Try to find some more examples in the internet or just play around!
shorter_edgeis a more correct name for a variable? Why? Try searching for PEP 8 variable names. What's a
edge = 2852 cm.
Body Mass Index (BMI)from a user's
height. The BMI is a measure of some's weight taking into account their height. e.g. If a tall person and a short person both weigh the same amount, the short person is usually more overweight. The BMI is calculated by
weight(in kg) by the
square of their height(in
from random import randrange number = randrange(3) print(number)