~/ 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/be9a42c6-054c-408c-b115-2d5c62acf7e0/flashcard utf-8 LF