wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

9класс python

Total questions: 9

Worksheet time: 6mins

Name
Class
Date
1.

print("16+8")

a)

15

b)

16

c)

incorrect

d)

16+8

2.

name="john"

print(name)

a)

name

b)

jon

c)

john

d)

incorrect

3.

list=[1, "long", "sun",8, 16 ]

print(list[1])

a)

1

b)

16

c)

long

d)

sun

4.

list=[1, 2, "sun", "apple"]

list[3]=9

print(list)

a)

1 9 sun apple

b)

1, 2 9 apple

c)

1 2 sun 9

d)

incorrect

5.

list=[2, 3, 4]

print(list)

a)

2 3 4

b)

2,3,4

c)

incorrect

d)

list

6.

print(Hello, world)

a)

Hello world

b)

Hello World

c)

incorrect

d)

hello world

7.

list=[1, 2, 3]

print(list[1])

print(list[2])

a)

1

2

b)

2

3

c)

1

3

d)

incorect

8.

list=["apple", "banana", "orange" ]

list[1]= "sun"

print(list)

a)

sun banana orange

b)

apple banana sun

c)

apple sun banana orange

d)

apple sun orange

9.

print("Hello, my friend")

a)

Hello my friend

b)

Hello, friend

c)

Hello, my friend

d)

incorrect