Search Header Logo

Python workshop

Authored by Menaka Karichiyappakumar

others

University

Used 5+ times

Python workshop
AI

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

Media Image

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

Media Image

10
55

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

yes
no

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?