Помогите отсортировать по возрастанию значения разности множеств. Help sort the values of the difference of the sets in ascendin | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Помогите отсортировать по возрастанию значения разности множеств. Help sort the values of the difference of the sets in ascendin

https://code.sololearn.com/cwH3bIo8acHY/?ref=app

8th Oct 2022, 8:59 AM
Murrr
1 Answer
0
x = set(list(input())) y = set(list(input())) z = x - y or x.difference(y) Problem "word".split() != ["w", "o", "r", "d"] Answer list("word") = ["w", "o", "r", "d"]
13th Oct 2022, 12:16 AM
The Warlord
The Warlord - avatar