Plz help | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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