Please enable JavaScript to use CodeHS

Standards Framework

for Utah Python 2

24

Standards in this Framework

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