what3words interview question

s = "aBcDeF" Write a code to swap case in this string in Python? (You need to write on board)