What do you use to backspace in python?
\b
How does python print numbers?
Decimals
How do we add a list to a list?
list[2] = [1,2,3]
What button do we press to run our code?
F5
What does break do?
Exit the loop, execute the first line after the loop
if s = 'hello \t there', how would interactively evaluating s return?
'hello \t there'
How many types of Numeric data does python support?
3
How do we add elements of a list to a list?
List[2:2] = [1,2,3]
What does re.match return if found?
Match Object
what does remove do to a list?
removes first element in list with given value
if s = 'hello /t there', what would repr(s) return?
'hello \\t there'
What does 3*[0] return?
[0,0,0]
How do we delete elements from a list?
del list[1]
What are three ways of creating strings from text?
single, double, triple quotes.
is len a function, or a method?
function
\v does what?
Creates a verticle tab.
When can + and - be unary?
When preceding numeric expressions.
How many elements does list[2:3] represent?
1
What are two ways to make multiline strings?
triple quotes, backslash
What does number in justification method do?
length of output string in which to justify
What does \n do?
Creates a new line.
What is the value of x?
x does not have a value until you give x a value.
how do you find the length of a list?
len(list)
What does range with two arguments return?
a list of integers starting at the first argument and continuing to one less than the second argument.
What is the big difference between strings and lists?
strings are immutable, lists are mutable.