Помогите с задачей, python
Приложения:

flash77779:
Выполнил задание
Ответы на вопрос
Ответил flash77779
0
city1 = input("Enter the name of the first city: ")
city2 = input("Enter the name of the second city: ")
city3 = input("Enter the name of the third city: ")
if len(city1) > len(city2) and len(city1) > len(city3):
print(city1)
elif len(city2) > len(city1) and len(city2) > len(city3):
print(city2)
else:
print(city3)
if len(city1) < len(city2) and len(city1) < len(city3):
print(city1)
elif len(city2) < len(city1) and len(city2) < len(city3):
print(city2)
else:
print(city3)
Приложения:

Новые вопросы