Advertisement
nq1s788

Untitled

Sep 1st, 2023
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. vovels = 'aeiouy'
  2. s = input().lower()
  3. if s[0] in vovels:
  4.     print(s + 'way')
  5. else:
  6.     print(s[1:] + s[0] + 'ay')
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement