Changes

Jump to: navigation, search

OPS435 Python Lab 4

110 bytes removed, 12:44, 20 June 2017
PART 1 - Strings and Substrings
= INVESTIGATION 2: STRINGS =
:Strings are in their most basic form basically a list of characters, or a bit (bits of text). Strings store text so that they can be later used later for by a wide range of functions. This section will cover investigate strings in more than just displaying that text to the screen. This investigation will discuss detail such as cutting strings into sub-strings, joining strings together, formatting strings, searching through strings, and matching strings against patterns. Strings are '''immutable ''' data objects, - this means that once a string is created, it <u>cannot </u> be modified. In order to make a change inside a string, you would first make a copy of the parts(sub-strings) to keep , and create a new then manipulate this string with the added values. This is for a common and simple procedure that python gives special syntax to accomplishparticular purpose.
== PART 1 - Strings and Substrings ==
:This first part will explain basic concepts of using strings, printing strings, and manipulating sub-strings. 
'''Perform the Following Steps:'''
:#Launch the ipython3 shell<source>
13,420
edits

Navigation menu