$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #143

What is printed?

print("Hi"[::2])
  1. H
  2. Hi
  3. iH
  4. i
A step of 2 keeps index 0 and skips index 1.
Play Problem Solving ▸