Search Header Logo

7_Input_print_string

Authored by Cẩm Vỉnh

Professional Development

KG - 3rd Grade

7 Questions

Used 2+ times

7_Input_print_string
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

trong hàm print() "sep" dùng để làm gì

Để xuống dòng

Để tạo ra các kí tự ngăn cách giữa các object

để in ra màn hình

để chèn kí tự vào cuối các object

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Có thể sử dụng hàm print() để xuất ra file hay không

Không

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print('I love {1} and {0}'.format('bread', 'butter'))

Kết quả in ra màn hình là

I love bread and butter

I love butter and bread

butter and bread

bread and butter

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = input()

b = input()

c = a + b

Kiểu dữ liệu của c là ?

Chuỗi

Số

báo lỗi

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

name = "vinhbc"

Cách lấy kí tự v là

name[0]

name["v"]

name[1]

name[first]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

name = "vinhbc"

Cách lấy kí tự "c" là

name[-1]

name[1]

name[0]

name[-0]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

not ( "abc" not in "xyz")

Đáp án của câu lệnh này là

False

True

Error

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?