Slices
Lesson 14: String Slices
Lesson 15: More slices plus ord/chr
Lesson 16: Slicing example: Shuffle word
A better solution for shuffle
#alternate better solution
word=input('enter word: ')
shuf=''
evens=word[:-1:2]
odds=word[1::2]
for x in range(len(word)//2):
shuf = shuf + odds[x] + evens[x]
print(shuf)