wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Bài 4. Câu lệnh vào/ ra đơn giản

Total questions: 5

Worksheet time: 3mins

Name
Class
Date
1.

a = 16/3
print(type(a)

a)

int

b)

float

c)

str

d)

ko xác định

2.

a = 16//3

print(type(a)

a)

int

b)

float

c)

str

d)

None

3.

x = 16%3

print(type(x))

a)

float

b)

str

c)

int

d)

None

4.

x=3.5

print(int(x))

a)

str

b)

float

c)

None

d)

int

5.

a = 5

print(float(a))

a)

0

b)

5

c)

5.0

d)

Báo lỗi