lst = 'аеёиоуыэюя'
pr = input(f'Ввидите пароль:\n>>> ')
st = ''
for i in pr.lower():
if i in lst:
st += '0'
else:
st += '1'
print(st)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
lst = 'аеёиоуыэюя'
pr = input(f'Ввидите пароль:\n>>> ')
st = ''
for i in pr.lower():
if i in lst:
st += '0'
else:
st += '1'
print(st)