Skip to content
Code ReadingText Slices
Predict the Output

Text Slices

Reversing, lowercasing and slicing together. Write exactly what is printed.
1s = "RawCode"
2print(s[::-1][:3], s.lower().count("o"), s[2:5])