
Python workshop
Authored by Menaka Karichiyappakumar
others
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
error
d
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("hello " * 2)
hellohello
error
hello hello
hello
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you add a new key-value pair to an existing dictionary d?
d.add(key, value)
d[key] = value
d.append(key, value)
d.insert(key, value)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the valid list
list_1 = []
list_2 = [1,2,3,[4,5],6]
list_3 = ["abcd" , {1: "one"}]
all the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
10
55
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
yes
no
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
hello
hellokitty
hello\nkitty
kitty
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?