What’s the result of the following code?

Practice More Questions From: Quiz 6 – Tuples & Sets

Q:

Which of the following is used to represent a list in Python?

Q:

What’s the result of the following code?

Q:

What’s the result of the following code? s = ‘all’ print(set(s))

Q:

What’s the result of the following code? a = [1, 2, 3, None, (), []] print(len(a))

Q:

What’s the result of the following code? my_list = [‘cat’, ‘dog’, ‘fish’] print(‘cat’ in my_list)

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments