~/ learn/ python-from-zero/ cards/ Strings
1 of 1

Upper-case a word, measure it, and reverse it.

Upper-case a word, measure it, and reverse it.

Answer

s = "python" print(s.upper(), len(s), s[::-1])

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/166250f4-2654-4cc2-ae70-ebad706e65e9/flashcard utf-8 LF