No student devices needed. Know more
10 questions
Which data type can store unique values?
List
Tuple
Set
Dictionar
num1= 10
num2 = 30
(num1<num2) or (num2<0)
true
false
nothing
Which operator can be used to compare two values?
<>
==
><
=
Which of these collections defines a LIST?
["apple", "banana", "cherry"]
{"name": "apple", "color": "green"}
("apple", "banana", "cherry")
{"apple", "banana", "cherry"}
Which of these collections defines a DICTIONARY?
{"name": "apple", "color": "green"}
{"apple", "banana", "cherry"}
["apple", "banana", "cherry"]
("apple", "banana", "cherry")
Which statement is used to stop a loop?
exit
break
return
stop
Explore all questions with a free account