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

What is printed?

print('abc'[::2])
  1. ac
  2. ab
  3. abc
  4. bc
A step of 2 takes every other character.
Play Problem Solving ▸