Remember that strings are immutable.
Things that appear to make changes do not change the string, but return the modified string.
This actually extracts a string containing only one character.
Do NOT use old style formatting.
f-string is similar to new style formatting, but with different punctuation. f-string is recommended
skip; we will have our own exercises and assignments.
The Python documentation has a complete listing and explanation of all the string methods, including such additional methods as endswith() and islower(). See: string methods
Read the last paragraph first. If you write your program this way, it simplify things.
We will import modules from the standard library, but will not build
will not build our own modules.
What you will write will be similar to the code in the weatherman.py main program.
Look at how weatherman.py uses the report.py module, but not at how to implement
a module.
omit
scan
omit
We will use only a few things from the Python Standard Library, but the next course, CIS 41B, will use the Python Standard Library very much.
omit for now. We will do this later.
omit
omit
omit
omit
omit
omit
scan
omit