MCQs > IT & Programming > Python > Assume s = ' Hello World ' Which would remove only trailing whitespace?

Python MCQs

Assume s = ' Hello World ' Which would remove only trailing whitespace?

Answer

Correct Answer: s.rstrip()

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it