Created
February 27, 2023 18:13
-
-
Save prokopevivan/92bd165f8f53add5331837dcab1f0fa3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text = input().split() | |
volwes = ['а', 'о', 'э', 'е', 'и', 'ы', 'у', 'ё', 'ю', 'я'] | |
count = list() | |
for i in text: | |
c = 0 | |
for j in i: | |
if j in volwes: | |
c += 1 | |
count.append(c) | |
if len(set(count)) == 1: | |
print('Парам пам-пам') | |
else: | |
print('Пам парам') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment