Search Header Logo

Язык Python: Циклы с условием

Authored by Светлана Потапова

Computers

5th Grade

Used 28+ times

Язык Python:  Циклы с условием
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Какое число нужно написать вместо многоточия, чтобы цикл выполнился ровно 2 раза?

i = 2

while i <= ...:

print ( "Привет!" )

i += 1

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Сколько раз будет выполнен этот цикл?

i = 3

while i < 5:

print ( "Привет!" )

i += 1

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Какое число будет выведено на экран в результате выполнения этого цикла?

i = 3

print ( "8", end="" )

while i < 6:

print ( i, end="" )

i += 1

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Какое число нужно написать вместо многоточия, чтобы цикл выполнился ровно 2 раза?

i = 4

while i >= ...:

print ( "Привет!" )

i -= 1

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Какое число нужно написать вместо многоточия, чтобы цикл выполнился ровно 2 раза?

i = ...

while i >= 3:

print ( "Привет!" )

i -= 1

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Какое число нужно написать вместо многоточия, чтобы цикл выполнился ровно 2 раза?

i = ...

while i <= 2:

print ( "Привет!" )

i += 1

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Чему будет равно значение переменной «a» после выполнения этого цикла?

i = 3

a = 11

while i < 5:

a += i

i += 1

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?