Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. def to_ru(s):
  2. w = ""
  3. rus = "osky"
  4. for c in s[1:]:
  5. w+=c
  6. w+=s[0]
  7. w+=rus
  8. return w;
  9. n = int(input())
  10. for i in range(0, n):
  11. s = input()
  12. print(to_ru(s))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement