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

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

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

for i in range(10):

     print i+1

Score: 1 of 1
Your answerChoiceScoreCorrect answer

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

0
Selected

1, 2, 3, 4, 5, 6, 7, 8, 9, 10 

1
Should have chosen
Question 2

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

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

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

10, 7, 4

0
Selected

τίποτα

1
Should have chosen

10, 8, 6, 4

0
Question 3

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

for i in range(4,0):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

4, 3, 2, 1

0

1, 2, 3, 4

0
Question 4

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

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

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

3, 6

0
Selected

-6, -3, 0, 3

1
Should have chosen

-6, -3, 0, 3, 6

0

τίποτα

0
Question 5

Μπορείτε να  εμφανίσετε τους περιττούς μονοψήφιους αριθμούς (1, 3, 5, 7, 9) με τη χρήση της:

for i in range(5):

    print _______

Score: 1 of 1
Your answerChoiceScoreCorrect answer

ναι γίνεται με την

print  i + 1

0

τώρα τι ζητάς; ανέφικτα πράγματα, εεε ;
 

0
Selected

ναι γίνεται με την

print 2* i + 1

1
Should have chosen

ναι γίνεται με την

print  i  * 2

0
Question 6

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

for i in range(-4,0):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

-4, -3, -2, -1

1
Should have chosen

τίποτα

0

1, 2, 3, 4

0
Question 7

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

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

for i in range(a):

     print i 

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

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

0

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

0
Question 8

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

for i in range(-2,2):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

τίποτα

0
Selected

-2, -1, 0, 1

1
Should have chosen

2, 1, 0

0
Question 9

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

for i in range(4,4):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

4, 4

0
Selected

τίποτα

1
Should have chosen

4

0
Question 10

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

for i in range(5,6):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

5

1
Should have chosen

5, 6

0