Ответ:
len(set(input()[1::2]))
a = str(input("Введите слово: "))
l = [str(i) for i in a]
lend = []
for i in range(0, len(a), 2):
lend.append(l[i])
lend = list(set(lend))
print(len(lend))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
len(set(input()[1::2]))
Ответ:
a = str(input("Введите слово: "))
l = [str(i) for i in a]
lend = []
for i in range(0, len(a), 2):
lend.append(l[i])
lend = list(set(lend))
print(len(lend))