Changes

Jump to: navigation, search

OPS435 Python Lab 4

18 bytes added, 09:57, 23 June 2017
PART 2 - String Formatting
:::4. Before proceeding, make certain that you identify any and all errors in lab4d.py. When the checking script tells you everything is OK before proceeding to the next step.
== PART 2 - String Formatting Basic Fundamentals==
:In Python scripting, using plus signs and commas for string concatenation is very limited and can become messy when when used at length with many values and/or calculations. This section will cover the '''format()''' function that can be used with every type of string. This function allows the user of Python to create well formatted code, to align text, and to convert values efficiently and cleanly. While this section uses lists and dictionaries, they contain strings which can be accessed and displayed in a formatted manner.
13,420
edits

Navigation menu