built-in functions Flashcards
1
Q
add a value to a list
A
.append()
2
Q
round the number up no matter what
A
ceiling function
print(ceil(#))
3
Q
check if a value is all uppercase
A
.isupper()
4
Q
check if a value is lower case
A
.islower()
5
Q
remove all values in a list
A
.clear()
6
Q
count the number of similar values in a list
A
counting function
print(list.count(value))
7
Q
append one list onto another
A
extend function
.extend()
8
Q
find the length of a string or how many values are in a list
A
print(len(list or value))
9
Q
round down no matter what
A
print(floor(#))