generate functionTue, 21 Mar 2023

привести строку текста к нижнему регистру и удалить дублирующие элементы

def unique_words(text): return " ".join(list(set(text.lower().split()))) unique_words("Строка со строкой в ней.")

Want to kickstart your project?Use the new AI Studio to create your code