Bryce H.

asked • 02/04/23

how to use set to return Mississippi in python

Write an expression that would turn the string "Mississippi" into a set of unique letters.

For example:

set("Parallel") would return set {"P", "a", "e", "l", "r"}

You should only write one line of code for this. Do not assign a variable name to the set.

1 Expert Answer


Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.