Round Numbers (Exercise)
00:00 This course section is all about calling various math functions and methods that help you work with numbers in Python. The goal of this exercise in particular is to get a number from the user and display it rounded to two decimal places. This might sound familiar.
00:17 However, unlike before, you’re not allowed to rely on the format specification mini-language to achieve this. Instead, you’ll have to call one of the functions built into Python.
Become a Member to join the conversation.