Changes

Jump to: navigation, search

OPS435 Python Lab 4

56 bytes added, 11:16, 21 June 2017
PART 2 - String Formatting
== PART 2 - String Formatting ==
:In python string concatenation with Python scripting, using plus signs and commas for string concatenation is very limited and becomes very can become messy when when used at length with many valuesand/or calculations. This section will cover the '''format() functions ''' function that can be used with every type of string is able to use. The format() This function allows for the user of Python to create well formatted code, aligning to align text, and converting to convert values efficiently and cleanly. While this section uses lists and dictionaries, remember that these are lists of they contain strings which can be accessed and dictionaries with string valuesdisplayed in a formatted manner.
:'''Perform the Following Steps:'''
:#Start the ipython3 shell:<source>
ipython3
</source>
13,420
edits

Navigation menu