Ответ :
Ответ:
n = input()
t = True
for i in range(len(n)-1):
if n[i] == n[i+1]:
t = False
if t == False:
print('Да')
else:
print('Нет')
![Посмотреть изображение lenyashastin](https://ru-static.z-dn.net/files/df5/71ef00401222d59b999c37febfe256eb.png)
Ответ:
n = input()
t = True
for i in range(len(n)-1):
if n[i] == n[i+1]:
t = False
if t == False:
print('Да')
else:
print('Нет')