MCQs > IT & Programming > Python > Consider the following code: myString = ' Hello! ' Which of the following choices will remove the spaces at the beginning and end of myString?

Python MCQs

Consider the following code: myString = ' Hello! ' Which of the following choices will remove the spaces at the beginning and end of myString?

Answer

Correct Answer: myString.strip()

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