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 66 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!