Solve problem "Delete every third character" online - Learn Python 3 - Snakify

Problem «Delete every third character» (Hard)


Statement

Given a string. Delete from it all the characters whose indices are divisible by 3.

In all the problems input the data using input() and print the result using print().



Saved solutions

Tests

Input Correct answer Result
Python
yton
Hello
elo
qwer
we
a
ab
b
abc
bc
abcdefg
bcef
abcdefgh
bcefh
abcdefghi
bcefhi
abcdefghij
bcefhi
abcdefghijk
bcefhik
abcdefghijkl
bcefhikl
qwertyuiopasdfghjklzxcvbnm
wetyioasfgjkzxvbm