Whats the wrong syntax in the code below? Shouldn't this line work? Can someone explain why its not working and whats the correct syntax.
return [ True for x in numbers if x == 3 else False ]
Aucun commentaire:
Enregistrer un commentaire