Advertisement
Alx09

1.1

Jun 3rd, 2022
972
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. vocale  =('a', 'e', 'i', 'o', 'u')
  2. def voca(sir):
  3.   con = ""
  4.   voc = ""
  5.   for i in sir:
  6.     if i.lower() in vocale:
  7.       voc += i;
  8.     else:
  9.       con += i;
  10.   return con + voc
  11. text = voca("mare")
  12. print(text);
  13.      
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement