logo

Crowdly

Browser

Add to Chrome

Course 67

Looking for Course 67 test answers and solutions? Browse our comprehensive collection of verified answers for Course 67 at dl.guscollege.com.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Що буде в результаті виконання коду:

name = "John"

print("Hi, %s" % name)

View this question
Що таке ітератор?
View this question

Скільки разів виконається цикл?

i=1000

while i > 100:

    print (i)

    i/=2

View this question

В чому помилка у цьому коді?

i = 0

while i < 5:

    print(i)

View this question

Скільки буде значення змінної x після 4 ітерацій циклу? (впишіть число)

x = 1

i = 0

while i < 4:

    x = x + 2

    i += 1

View this question

Визначте, що буде надруковано в результаті виконання наступного скрипта:

a=23

b=4

while a>b:

    if a % 2 == 0:

        b=b+a

    else:

        a = a - 2 * b + 1

print(а)

View this question

Скільки разів виконається тіло циклу?

i = 0

while i < 3:

    print(i)

    i += 1

View this question

Що буде результатом цього  коду?

x=23

num = 0 if x > 10 else 11

print(num)

View this question

Який алгоритм реалізовано в цьому коді?

a = 48

b = 18

while b != 0:

    a, b = b, a % b

    print(a)

View this question

Який оператор здійснює вихід із циклу навіть у тому випадку, коли умова виконується і не всі операції ще виконані?

0%
0%
0%
0%
View this question

Want instant access to all verified answers on dl.guscollege.com?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome