Search Header Logo

Bài tập về chuỗi trong Python

Authored by Edu TSmart

English

5th Grade

Used 7+ times

Bài tập về chuỗi trong Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu chuỗi trong Python được ký hiệu bằng?

str

string

char

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ký tự nào dùng để tạo chuỗi trong Python?

' ' hoặc " "

{ }

( )

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của len("Python") là gì?

5

6

7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để nối hai chuỗi s1 = "Hello" và s2 = "World", ta dùng lệnh nào?

s1 . s2

s1 + s2

s1 * s2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của "Hi" * 3 là?

Hi3

HiHiHi

Lỗi

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chuỗi "Python"[0] sẽ trả về gì?

P

Y

n

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, "abc" in "abcdef" trả về?

True

False

Lỗi

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?