Question from the Python - Fundamentals test

Create a set of characters from a string in Python

Medium

What is the output of the following code ?

a = {x for x in 'welovedevs' if x not in 'eo'}
print(f'{type(a)};{a}')
Author: ThéoStatus: PublishedQuestion passed 107 times
Edit
-1
Community EvaluationsNo one has reviewed this question yet, be the first!