CodeLab Academy 📞 9936 6696
← List Python · Level 6: Strings Code · 60 points ← #539 #541 →

#540. Alternating case

You are given a word. Make letters at even indexes (0, 2, ...) uppercase and letters at odd indexes lowercase. ### Input One word. ### Output One line.

Examples

Input
list
Output
LiSt
Input
window
Output
WiNdOw

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!