I've made a program as follows:
x = input('Message? ')
x = x[::3]
for i in x:
print(i, end=' ')
it's supposed to give me the letters of input (every third letter) which it does, although it also prints a white space at the end which I have been unable to get rid of. I've tried everything including the .rstrip
and [:-1]
with no luck