Menu
Coddy logo textTech

Practice #5

Lesson 9 of 9 in Coddy's Python List Comprehension course.

challenge icon

Challenge

Medium

Given a list of strings strings.

Create a list comprehension that takes in a list of strings strings and returns a new list named pairs containing all the pairs of strings that share no common letters.

The result should be ordered by the occurrence of the words in the given list (by indexes).

Try it yourself

strings = eval(input())  # Don't change this line

All lessons in Python List Comprehension