str python

str python

11th Grade

6 Qs

quiz-placeholder

Similar activities

Principles of Business Revision

Principles of Business Revision

9th Grade - University

10 Qs

Penilaian Pengetahuan Komputer Akuntansi XII - 1

Penilaian Pengetahuan Komputer Akuntansi XII - 1

11th - 12th Grade

10 Qs

HOBBIES

HOBBIES

9th - 12th Grade

10 Qs

¿Cuánto sabes de literatura?

¿Cuánto sabes de literatura?

1st - 11th Grade

10 Qs

Kuis Kebahasaan

Kuis Kebahasaan

9th - 12th Grade

10 Qs

Développement de la satisfaction et de la fidélisation de la clientèle.

Développement de la satisfaction et de la fidélisation de la clientèle.

7th Grade - University

10 Qs

DigiTech Unit 1 Data 1

DigiTech Unit 1 Data 1

7th - 12th Grade

10 Qs

Les outils de recueils et de traitement de l’information

Les outils de recueils et de traitement de l’information

11th - 12th Grade

10 Qs

str python

str python

Assessment

Quiz

Education

11th Grade

Practice Problem

Hard

Created by

huu nhi

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Xâu rỗng là xâu có độ dài bằng:

0

1

2

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để biết độ dài của xâu s ta dùng hàm:

A. str(s)

B. len(s)

C. length(s)

C. s.len()

str(s)

lens(s)

lenght(S)

s.len()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu s1=’ha noi’, xâu s2=’ha noi cua toi’. Khẳng định nào sau đây là đúng:

Xâu s2 lớn hơn xâu s1.

Xâu s1 bằng xâu s2.

Xâu s2 nhỏ hơn xâu s1.

Xâu s2 lớn hơn hoặc bằng xâu s1.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm:

lower() 

len()

upper()

srt()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu st =’lop11’, xâu st có độ dài là:

3

4

5

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để thay thế kí tự ‘a’ trong xâu s bằng một xâu mới rỗng ta dùng lệnh:

s=s.replace(‘a’,’’)     

s=s.replace(‘a’)  

s=replace(a,’’)   

s=s.replace() 

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?