Previous - Next

Below are the built-in functions and methods that are required from CS126 students to know about by the end of the semester. The function names that are in italic font do not return a useful value.

Built-in functions

map, abs, type, pow, min, max, sum, len, int, str, float, round, bool, chr, ord, open, set, dict, list, tuple, input, print, sorted

String methods

capitalize, count, title, find, rfind, isdigit, islower, isupper, upper, lower, isspace, istitle, strip, replace, join, split

List methods

count, index, insert, pop, remove, reverse, sort, append, clear, extend

File methods

readline, readlines, close, csv.reader, csv.writer, csv.writwrow

Libraries

math, statistics, random, operator, csv