0
Asnwer to a practice
Course "Python Developer" Collection type Unit: Practice: Sets You are working on a recruitment platform, which should match the available jobs and the candidates based on their skills. The skills required for the job, and the candidate's skills are stored in sets. Complete the program to output the matched skill. level You can use the intersect operator to get the values present in both sets. skills = {'Python', 'HTML', 'SQL', 'C++', 'Java', 'Scala'} job_skills = {'HTML', 'CSS', 'JS', 'C#', 'NodeJS'} The answer should be: print(skills & job_skills) But it doesnt work. Any clue?
2 Answers
+ 2
your output is {'HTML'}
but it should be HTML
0
Javi marin print(*skills & job_skills)