Built with Hugo and the Learn Theme
© Copyright 2020 Robert Arkiletian
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)