Please enable JavaScript to use CodeHS

Utah Python 2 Framework

Standards

Standard Description
PY2.1.1a Students will identify when to use a list Lessons
PY2.1.1b Student will create a list with strings and numeric values Lessons
PY2.1.1c Access a particular element in a list by using an index Lessons
PY2.1.2a Students will use the list methods to manipulate their lists: .append(), .pop(), and .insert() Lessons
PY2.1.2b Students will use the list methods to manipulate their lists: .extend(), +, .reverse(), and .sort() Lessons
PY2.1.2c Students will use the list methods to manipulate their lists: .join(), split( Lessons
PY2.1.3a Students will use a for loop with "in" Lessons
PY2.1.3b Students will use a for loop with range() Lessons
PY2.2.1 Students will understand an index Lessons
PY2.2.2a Understand how a string is indexed Lessons
PY2.2.2b Work with string characters by index Lessons
PY2.2.3a Students will slice a string into substrings Lessons
PY2.2.3b Students will slice a list into sub lists Lessons
PY2.3.1a Students will be able to import files into Jupyter notebooks by using the curl command. Lessons
PY2.3.1b Students will be able to read a local file in memory. Lessons
PY2.3.1c Students will be able to use .read to read a specific number of characters. Lessons
PY2.3.2a Students will be able to use .readlines to read text from files as a list of lines. Lessons
PY2.3.2b Students will be able to use .close() to free svstem resources. Lessons
PY2.3.3a Students will be able to use .readline() to read data from a file one line at a time. Lessons
PY2.3.3b Students will be able to use .strip() to remove newline characters and other whitespaces. Lessons
PY2.3.4a Students will be able to use .seek() to set file read and write locations. Lessons
PY2.3.4b Students will be able to use file append mode. Lessons
PY2.3.5a Students will be able to use .write() to write to a file Lessons
PY2.3.5b Students will be able to use file append mode to append to a file Lessons