Python Learning

Python Learning

KG - 3rd Grade

11 Qs

quiz-placeholder

Similar activities

2/3.BGU - HTML

2/3.BGU - HTML

12th Grade

10 Qs

04.01 matura rozszerzona 3bcd

04.01 matura rozszerzona 3bcd

12th Grade

15 Qs

Website Dev dengan HTML

Website Dev dengan HTML

7th - 12th Grade

10 Qs

Excel

Excel

12th Grade

15 Qs

Reservation

Reservation

University

12 Qs

Excel 2019 Moment 3

Excel 2019 Moment 3

9th Grade

12 Qs

Design Thinking - Quiz

Design Thinking - Quiz

Professional Development

15 Qs

QTCL K16 - Test 1

QTCL K16 - Test 1

University

10 Qs

Python Learning

Python Learning

Assessment

Quiz

Education, Instructional Technology

KG - 3rd Grade

Practice Problem

Hard

Created by

Elchin Salahzada

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

>>> a,b=2,3

>>> min=a if a<b else b

>>> min

min=5

min=3

min=2

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

a,b=2,3

min=a if a<b else b

>>> min

print("Hi") if a<b else print("Bye")

Output: ?

Hi

HiBye

ByeHi

Bye

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for i in range(7):

if i==3:

break

print(i)

1

2

3

4

5

6

7

1

2

4

5

6

1

2

4

5

6

7

1

2

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for i in range(7):

if i==3:

continue

print(i)

1

2

3

4

5

6

1

2

4

5

6

7

1

2

4

5

6

1

2

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

>>> a=[1,2,4]

>>> a.insert(2,3)

>>> a

(1,2,3,4)

{1,2,3,4}

[1,2,4,2,3]

[1,2,3,4]

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

15%7=?

1

2

22

8

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

>>> colors=['red','green','blue']

>>> type(colors)

<class 'tuple'>

class <'list'>

<class 'set'>

<class 'dict'>

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?