word = input('Enter a word: ') temp = '' for c in word: temp += 2*c print(temp)