Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 4

6 bytes added, 09:05, 23 June 2017
PART 3 - String Formatting Advanced Features
:'''Perform the Following Steps'''
:#Make certain you are still in your ipython3 shell.<br><br>Let's start advanced formatting for '''numbers'''. Try issuing content below in order to observe the 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}'''<br><br>
:#Issue the following:<source>
number1 = 50
13,420
edits