Python Learning

Python Learning

KG - 3rd Grade

11 Qs

quiz-placeholder

Similar activities

Portales Interactivos

Portales Interactivos

University

12 Qs

TEKPER KD 3.4

TEKPER KD 3.4

10th Grade

10 Qs

Cấu trúc rẽ nhánh if-elif-else

Cấu trúc rẽ nhánh if-elif-else

11th Grade

10 Qs

ONLINE QUIZ

ONLINE QUIZ

University

15 Qs

9.Sınıf quiz2

9.Sınıf quiz2

1st Grade

10 Qs

kiểm tra kiến thức bài 6_tin 11

kiểm tra kiến thức bài 6_tin 11

1st Grade

8 Qs

X RPA - PHP 1

X RPA - PHP 1

1st - 3rd Grade

15 Qs

Bài 9 cấu trúc rẽ nhánh

Bài 9 cấu trúc rẽ nhánh

11th Grade

10 Qs

Python Learning

Python Learning

Assessment

Quiz

Education, Instructional Technology

KG - 3rd Grade

Hard

Created by

Elchin Salahzada

Used 6+ times

FREE Resource

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'>

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?