Εντολή print

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

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

import math

a=math.sqrt(4)

b=a+10

print b

Score: 1 of 1
Your answerChoiceScoreCorrect answer

26

0
Selected

12

1
Should have chosen
Question 2

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

a=b=c=5

a+=2

print a, b, c

Score: 1 of 1
Your answerChoiceScoreCorrect answer

7 7 7

0
Selected

7 5 5

1
Should have chosen
Question 3

τι θα εμφανιστεί στην οθόνη;

a=5

b=10

print a,b

a,b=b,a

print a,b

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

5    10

10    5

1
Should have chosen

10   5

5    10

0
Question 4

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

Print=10

print Print

Score: 1 of 1
Your answerChoiceScoreCorrect answer

Print

0
Selected

10

1
Should have chosen

SyntaxError: invalid syntax

0
Question 5

Να καταγράψετε τι πιστεύετε ότι θα εμφανιστεί στην οθόνη μετά την εκτέλεση του παρακάτω τμήματος προγράμματος:

x=25

y=10

x+=2

y-=3

z=x/y

c=x%y

print z, c

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

3 6

1
Should have chosen

6 3

0

4 0
 

0
Question 6

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

print 1 * '1', '2' * 2 , 3 * '3', '4' *4 , 5 * '5'

 

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

1 22 333 4444 55555

1
Should have chosen

1111122222333334444455555

0

12345

0