Question: # 4 . Replace None in the following 5 lines and replace None with an example of each Python Object. q 4 _ string =

# 4. Replace None in the following 5 lines and replace None with an example of each Python Object.
q4_string = None
q4_integer = None
q4_float = None
q4_boolean = None
q4_list = None
assert type(q4_string)== str and len(q4_string)==5,"q4_string should have a value of type String"
assert type(q4_integer)== int, "q4_integer should have a value of type Integer"
assert type(q4_float)== float, "q4_string should have a value of type Float"
assert type(q4_boolean)== bool, "q4_boolean should have a value of type Boolean"
assert type(q4_list)= list and len(q4_list)==3,"q4_list should have a value of type Boolean"
 # 4. Replace None in the following 5 lines and replace

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!