logo

Crowdly

Browser

Add to Chrome

Questions Bank (1471162 total)

Welchen Wert hat die Variable i nach der Ausführung des folgenden Codes?

for i in range(5):

     pass

View this question

Wie oft wird der innere Block der folgenden geschachtelten for-Schleifen ausgeführt?

for i in range(2):

     for j in range(3):

          print("i:", i, "j:", j

)

✅
❌
❌
❌
View this question

Wie oft wird der folgende Codeblock ausgeführt?

for i in range(3):

    print("Hallo Welt"

)

❌
✅
❌
❌
View this question

Welches ist das letzte Element, das von der folgenden for-Schleife ausgegeben wird?

meine_liste = [

"Apfel", "Banane", "Kirsche"]

for element in meine_liste[::-1]:

      print(element)

View this question
View this question

Welches ist das letzte Element, das von der folgenden for-Schleife ausgegeben wird?

meine_liste = ["Apfel", "Banane", "Kirsche"]

for element in meine_liste:

      print(element)

View this question
Показання до застосування філграстиму:
0%
0%
0%
0%
0%
View this question

Wie oft wird der folgende Codeblock ausgeführt?

i = 0

while True:

    print("Hallo Welt")

    i += 1

    if i == 5:

         break

❌
❌
✅
❌
View this question

Was ist der Endwert von x?

x = 10

while x > 5:

    x -= 2

print(x)

✅
❌
❌
❌
View this question

Wie oft wird der innere while-Block ausgeführt?

i = 0

while i < 3:

     j = 0

     while j < 2:

          print("Hallo Welt")

          j += 1

     i += 1

✅
❌
❌
❌
View this question