Join us and get access to thousands of tutorials and a community of expert Pythonistas.
This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.
Format Currency (Exercise)
00:00 In this exercise, you are going to format an integer number as a currency amount. You need to ensure that you include the currency symbol, such as the dollar sign.
00:10 You’ll also want to group thousands with commas and include two decimal places, even if there are no cents in your amount. Let’s give it a try.
Become a Member to join the conversation.