Δομή επανάληψης: εντολή for

You got 9 of 9 possible points.
Your score: 100%
Question 1

τι θα εμφανίσει;

for i in range(4,0):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

1, 2, 3, 4

0

4, 3, 2, 1

0
Question 2

τι θα εμφανίσει;

for i in range(3, 3, 3):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

3, 3, 3

0

3

0
Question 3

τι θα εμφανίσει;

for i in range(2, 6, 2):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

4, 2

0
Selected

2, 4

1
Should have chosen

2, 4, 6

0
Question 4

Τι θα εμφανίσει;

for i in range(4):

     print i -1

 

Score: 1 of 1
Your answerChoiceScoreCorrect answer

1, 2, 3, 4

0

0, 1, 2, 3

0
Selected

-1 , 0 , 1 , 2

1
Should have chosen
Question 5

Τι θα εμφανίσει;

for i in range(5,9):

     print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

5, 6, 7, 8, 9

0
Selected

5, 6, 7, 8

1
Should have chosen
Question 6

τι θα εμφανίσει;

for i in range(100, 10, -50):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

100, 50

1
Should have chosen

10, 60

0

100, 50, 0

0
Question 7

Τι θα εμφανίσει, αν ο χρήστης πληκτρολογήσει τον αριθμό -5;

a=input(' Δώσε αριθμό')

for i in range(a):

     print i 

Score: 1 of 1
Your answerChoiceScoreCorrect answer

-5, -4, -3, -2, -1

0
Selected

τίποτα

1
Should have chosen

-1, -2 ,-3, -4, -5

0
Question 8

Τι θα εμφανίσει;

for i in range(5,6):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

5, 6

0
Selected

5

1
Should have chosen
Question 10

τι θα εμφανίσει;

for i in range(5, 6, 5):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

5

1
Should have chosen

5, 10

0

τίποτα

0