Форум сайта python.su
Rorchaxахах
ты запусти, решение
andrey@ubuntu:~$ cat test.py
s = "python forever python a test qwerty python."
b = s[:-1].split()
print(*filter(lambda x: len(set(x)) == len(x) and x != b[-1], b))andrey@ubuntu:~$
andrey@ubuntu:~$ python3 test.py
a qwerty
Офлайн
terabaytлол. все я понял
andrey@ubuntu:~$ cat test.py
s = “python forever python a test qwerty python.”
b = s.split()
Офлайн