Python Learning

Python Learning

KG - 3rd Grade

11 Qs

quiz-placeholder

Similar activities

Python Dasar

Python Dasar

10th Grade

10 Qs

Basic Python

Basic Python

10th Grade - University

10 Qs

Câu lệnh rẽ nhánh If

Câu lệnh rẽ nhánh If

10th Grade

10 Qs

Kelas X 28 Spreadsheet 2020

Kelas X 28 Spreadsheet 2020

Professional Development

15 Qs

REPASO EXAMEN TECNO

REPASO EXAMEN TECNO

1st - 5th Grade

10 Qs

Excel Formula

Excel Formula

10th Grade

15 Qs

TAZKIRAH JUMAAT

TAZKIRAH JUMAAT

University

12 Qs

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

University

12 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?