Odd signs

Report a typo

There is a variable word defined below. It stores an input string. Print only its symbols with odd indexes.

If you start slicing with an odd number, set the step value to 2.

Sample Input 1:

caramel

Sample Output 1:

aae
Write a program in Python 3
# here is your word
word = input()
___

Create a free account to access the full topic