Operations on strings
You are given the variable text storing the following string 'StRing ObJeCts haVe mANy inTEResting pROPerTies'.
Your task is to modify this string in such a way that would result in 'string OBJECTS have MANY interesting PROPERTIES' (every other word in text is lowercased and uppercased, otherwise). You will obtain this result in three steps.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Practicing Coding Interview Questions in Python
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Create a word list from the string stored in text
word_list = ____