What do you use to comment lines in python?
octothorpe #
list of chars
This is the term for an individual item in a list
element
A group of statements that exist within a program for the purpose of performing a specific task
Function
What Operator is used to dertermine if a key exists in the Dictionary
in
What is an invalid variable name
starting with number or char
This function returns a string with leading and trailing white spaces removed.
strip()
What built in function returns the highest value of a list?
max
A function that does things without returning a value is this type of function
void function
This is a column that holds a unique value for each row and can be used to identify specific rows
what is the extention to the python files.
.py
This method returns true if all of the alphabetic letters in the string are lowercase, and the string contains at least one alphabetic letter. Returns false otherwise.
islower()
Letters = [ [F, G], [Q, P], [S, V]]
Letters[2][1] returns what letter?
V
This is the piece of data sent into a function?
argument
What method returned all keys and values in a dictionary as a sequence of tuples?
items()
what is the keyword used to build a function?
def
What does the code display?
mystr = 'abc' * 3
print(mystr)
abcabcabc
What does this code do?
list = list[ : len(list)-1]
gets everything exept the last element
An item that appears in a program’s graphical user interface is known as a____________.
widget
What does the Acronym CRUD stand for
Create Read Update Delete
item.method()
function(item)
This method returns the lowest index in the string where substring is found. If substring is not found, the method returns −1.
find()
numbers = [1,2,3,4,5,6]
squared_numbers = [________________________]
These buttons allow the user to select only one of several possible options.
Radio buttons