Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python - petlja for

Total questions: 7

Worksheet time: 4mins

Name
Class
Date
1.

Program će ispisati:

a)

0
1

2

b)

0 1 2 3

c)

0 1 2

d)

1
2
3

2.

Program će ispisati:

a)

0
2
4

6

b)

2 3 4 5

c)

2
3
4
5

d)

2 3 4 5 6

3.

Program će ispisati:

a)

4 5 6 7 8 9 10 11 12 13 14

b)

4 6 8 10 12 14

c)

4
7
10
13

d)

4 7 10 13

4.

Program će ispisati:

a)

6 5 4 3 2 1 0

b)

1
2
3
4
5

c)

6
5
4
3
2

d)

6 5 4 3 2

5.

Program će ispisati:

a)

Python
Python
Python

b)

1 Python 2 Python 3 Python

c)

0
Python
1
Python
2
Python

d)

1 2 3
Python Python Python

6.

Pokrećemo program, unosimo broj 4 i dobivamo ispis:

a)

b)

c)

d)

7.

Program će ispisati:

a)

informatika
Python
informatika
Python

b)

informatika Python
informatika Python

c)

informatika
informatika
Python
Python

d)

informatika
informatika
Python