All Python objects contain which of the following (select all that apply)? A type, identifying what the object can do A unique ID, functioning as its location in memory A value A reference count
dict1 = {‘cow’: 17, ‘chicken’: 88, ‘rooster’: 6} dict1[’17’]…
dict1 = {‘cow’: 17, ‘chicken’: 88, ‘rooster’: 6} dict1 error cow chicken rooster
list1 = [1, 2, 3, 4, 5, 6] list1.insert(2) print(list1) erro…
list1 = list1.insert(2) print(list1) error
We can add items to lists. This means they are mutable. Tru…
We can add items to lists. This means they are mutable. True False
a = [5, 10, 15] b = a.copy() c = list(a) a[0] = 50 print(b)…
a = b = a.copy() c = list(a) a = 50 print(b) error a
type(7 + 1.1) float error int str
type(7 + 1.1) float error int str
birthdate = ’12/18/52′ birthdate.split() [’12/18/52′] [’12’…
birthdate = ’12/18/52′ birthdate.split() (’12’, ’18’, ’52’) error
15//7 _______ Answer for blank # 1
15//7 _______ Answer for blank # 1
Data types determine if values of that type are mutable True…
Data types determine if values of that type are mutable True False
Compare and contrast direct lobbying and superPAC activities…
Compare and contrast direct lobbying and superPAC activities (as discussed in this course) Rubric: rubric proficient competent novice define appropriate terms 5 pts 2.5 pts 0 pts discuss with enough depth 20 10 0