13,420
edits
Changes
→PART 3 - String Formatting Advanced Features
:'''Perform the Following Steps'''
:#Start the Make certain you are still in your ipython3 shell<source>ipython3</source>.
:#Start with numbers first. Study the following examples showing the different ways to change the output inside the curly brace '''{}''' while formatting. This formatting change is done by placing a colon inside the curly braces, following by a letter '''{0:f}'''<source>
number1 = 50
number2 = -50
number3 = 1.50