Open Educational Resources

Document Type

Lecture or Presentation

Publication Date



An introduction to Python strings and string formatting.

Proposed lecture slides are supplied with in-class activity, homework assignment, and assessment.

No loops, no decision structures.

For CS0 students.

Part of the CUNY CS04All project.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License.

lectureSlides_strings_NN.odp (218 kB)
lecture slides in Libre Office format

lectureSlides_strings_NN.pdf (300 kB)
lecture slides as Adobe Reader document

PythonStringsIn-classActivity_NN.docx (17 kB)
in-class activity (Word document)

PythonStringsIn-classActivity_NN.pdf (76 kB)
in-class activity (Adobe Reader )

PythonStringsIn-classActivity_NN.odt (30 kB)
in-class activity (Libre Office document)

PythonStringBasicsHWassignment_NN.docx (14 kB)
home work assignment (Word Document)

PythonStringBasicsHWassignment_NN.odt (26 kB)
home work assignment (Libre Office Document)

PythonStringBasicsHWassignment_NN.pdf (57 kB)
home work assignment (Acrobat Reader)

StringsAndLists-AssessmentQuestions_NN.docx (19 kB)
assessment (Word Document)

PythonStrings-AssessmentQuestions_NN.odt (25 kB)
assessment (Libre Office Document)

PythonStrings-AssessmentQuestions_NN.pdf (56 kB)
assessment (Adobe Reader ) (1 kB)
first program example (1 kB)
second program example (1 kB)
third program example