Advertisement
Spocoman

04. Double Char

Jan 13th, 2022 (edited)
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. while True:
  2.     word = input()
  3.     if word == 'SoftUni':
  4.         continue
  5.     elif word == 'End':
  6.         break
  7.     output = ''
  8.     for i in range(len(word)):
  9.         output += word[i] * 2
  10.     print(output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement