Guest User

Untitled

a guest
Nov 24th, 2021
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. vowels = ['a','e','y','u','i','o']
  2. vowelA = []
  3. A = 0
  4. vowelsTab = []
  5. letterCounter = 0
  6. repeatVowels = 0
  7. x = input()
  8. for letter in x:
  9.     if letter in vowels:
  10.         vowelsTab.append(letter)
  11.         letterCounter += 1
  12.         for letter in vowelsTab:
  13.             if letter == 'a':
  14.                 print(A)
  15.  
  16.  
  17.  
  18.  
  19.  
  20. print("Ilość znaków: " + str(len(x)))
  21. print("Samogłoski w wyrazie: " + str(vowelsTab))
  22. print("Ilość samogłosek: " + str(letterCounter))
  23.  
RAW Paste Data