Changes

Jump to: navigation, search

OPS435 Python Lab 4

279 bytes added, 10:51, 21 June 2017
PART 2 - String Formatting
def first_five():
# Place code here - refer to function specifics in section below
def last_seven():
# Place code here - refer to function specifics in section below
def middle_number():
# Place code here - refer to function specifics in section below
def first_three_last_three():
# Place code here - refer to function specifics in section below
 
if __name__ == '__main__':
== PART 2 - String Formatting ==
 :In python string concatenation with plus signs and commas is very limited and becomes very messy when when used at length with many values/calculations. This section will cover the format() functions that every string is able to use. The format() function allows for well formatted code, aligning text, and converting values efficiently and cleanly. While this section uses lists and dictionaries, remember that these are lists of strings and dictionaries with string values.
:'''Perform the Following Steps:'''
13,420
edits

Navigation menu