adplus-dvertising
frame-decoration

Question

Suppose s is “\t\tWorld\n”, what is s.strip() ?

a.

\t\tWorld\n

b.

\t\tWorld\n

c.

\t\tWORLD\n

d.

World

Posted under Strings in Python Python

Answer: (d).World

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Suppose s is “\t\tWorld\n”, what is s.strip() ?