13,420
edits
Changes
→PART 3 - String Formatting Advanced Features
:'''Perform the Following Steps'''
:#Make certain you are still in your ipython3 shell.<br><br>:#Start with :Let's start advanced formatting for numbers first. Study Try issuing content below in order to observe the following examples showing the different various 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}''':#Issue the following:<source>
number1 = 50
number2 = -50