+ 1

Plz help

Is sth missing.. ???? It's supposed to return the intersection of the two sets I don't know what's wrong 😨☠️ A={"python", "c++" , "HTML"} B={"c#", "HTML" , "Java"} print (A & B)

30th Sep 2023, 9:30 AM
aya hasan
aya hasan - avatar
2 Respostas
+ 2
In case you want to to know why, the quiz expects the common skills, not the set of common skills. In other words, HTML, not {"HTML"}. The quiz directions don't make that clear.
30th Sep 2023, 10:16 AM
Rain
Rain - avatar
+ 4
print (*(A & B))
30th Sep 2023, 9:36 AM
A͢J
A͢J - avatar