IT 117: Intermediate Scripting
Class 07 Ungraded Quiz
-
Can the key in a dictionary entry be any data type?
-
Can the value in a dictionary entry be any data type?
-
Can the value in a dictionary entry be a list?
-
What string value does Python think of as
False
in an if
statement?
-
What string value does Python think of as
True
in an if
statement?
-
What integer value does Python think of as
True
in an if
statement?
-
What integer value does Python think of as
False
in an if
statement?
-
What boolean value does Python assign to -1 in an
if
statement?
-
What does the clear method of a dictionary object do?
-
What does the get method of a dictionary object do?