Changes

Jump to: navigation, search

OPS435 Python Lab 4

18 bytes added, 18:55, 21 June 2017
PART 2 - String Formatting
:#Start the ipython3 shell:<source>
ipython3
</source>To start, let's use the '''format()''' function on a string, The text '''.format() goes on ''' is located at the end of a a defined stringsstring. The ''format() '' function can contain arguments or parameters within the parenthesis ( ).<br><br>:#To demonstrate using the ''format() '' function, issue the following:<source>
print( 'College is Great'.format() )
</source>
13,420
edits

Navigation menu