Search Header Logo

Ôn tập lệnh print trong Python

Authored by Lan Thanh

Computers

1st - 5th Grade

Used 3+ times

Ôn tập lệnh print trong Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh print('Hà Nội','Việt Nam') sẽ in ra kết quả như thế nào?

'Hà Nội' 'Việt Nam'

Hà Nội Việt Nam

Hà NộiViệt Nam

Hà Nội

Việt Nam

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Nhóm lệnh print('Hà Nội'); print('Việt Nam') sẽ in ra kết quả như thế nào?

'Hà Nội' 'Việt Nam'

Hà Nội Việt Nam

Hà NộiViệt Nam

Hà Nội

Việt Nam

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh print('Xin chào bạn" ') sẽ in ra kết quả nào?

Xin chào bạn"

'Xin chào bạn" '

'Xin chào bạn'

'Xin chào bạn"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Các lệnh gán sau đây, lệnh nào đúng?

x=7, y=10

x=y=z=10

x=print(x)

x='1234' + 567

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong các lệnh sau, lệnh nào đúng?

Print("Hello world")

print('hello world")

print('hello world')

print(hello world)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để viết chú thích cho lệnh Python, người ta dùng kí tự nào sau đây?

Ký tự //

Ký tự /* */

Ký tự #

Ký tự *

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Lệnh print('Hà Nội', 'thủ đô', 'Việt Nam',sep='\n', end=' '), sẽ in ra kết quả nào?

Hà Nội

thủ đô

Việt Nam

Hà Nội thủ đô Việt Nam

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers