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

You got 2 of 10 possible points.
Your score: 20%
Question 1

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

for i in range(1):

     print 'Python'

Score: 0 of 1
Your answerChoiceScoreCorrect answer

Python

0
Should have chosen
Selected

0

0
Question 2

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

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 3

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

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

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

1, 3, 5

0

-1, 1, 3, 5

0
Should have chosen
Selected

-1, 1, 3, 5, 7

0
Question 4

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

for i in range(4,4):

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer
Selected

4

0

4, 4

0

τίποτα

0
Should have chosen
Question 5

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

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

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

τίποτα

0
Should have chosen

3

0
Selected

3, 3, 3

0
Question 6

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

for i in range(0):

     print i 

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

0

0
Question 7

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

for i in range(4):

     print i -1

 

Score: 0 of 1
Your answerChoiceScoreCorrect answer
Selected

1, 2, 3, 4

0

0, 1, 2, 3

0

-1 , 0 , 1 , 2

0
Should have chosen
Question 8

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

for i in range(-4,0):

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

1, 2, 3, 4

0
Selected

τίποτα

0

-4, -3, -2, -1

0
Should have chosen
Question 9

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

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

for i in range(a):

     print i 

Score: 0 of 1
Your answerChoiceScoreCorrect answer

τίποτα

0
Should have chosen

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

0
Selected

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

0
Question 10

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

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

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

5

0
Should have chosen

5, 10

0
Selected

τίποτα

0