Nauč se Python > Kurzy > Beginners course PyLadies > First program > Variables

Variables – Řešení [0]

A program which prints the right result could look like this:

print('The perimeter of a square with a side of 356 cm is', 4 * 356, 'cm')
print('The area of a square with a side of 356 cm is', 356 * 356, 'cm2')

Toto je stránka lekce z kurzu, který probíhá nebo proběhl naživo s instruktorem.