$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · hard · #46
What is printed?
print("hello"[::-1])
hello
h
ohlle
olleh
A step of -1 reverses the string.
Play Problem Solving ▸
◂ #45
all Problem Solving — predict the output questions
#47 ▸