Ответ:
a, b = input().split(" ")
a = list(a)
b = list(b)
if a[0] == b[0]:
print("да")
else:
print("нет")
--------------------------------------
if a[len(a)-1] == b[0]:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
a, b = input().split(" ")
a = list(a)
b = list(b)
if a[0] == b[0]:
print("да")
else:
print("нет")
--------------------------------------
a, b = input().split(" ")
a = list(a)
b = list(b)
if a[len(a)-1] == b[0]:
print("да")
else:
print("нет")