Set question on sololearn | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Set question on sololearn

Q . 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. So this is the question from python learning in solo learn skills = {'Python', 'HTML', 'SQL', 'C++', 'Java', 'Scala'} job_skills = {'HTML', 'CSS', 'JS', 'C#', 'NodeJS'} a = job_skills & skills print(a) **** So I tired this but it’s not accepted

5th Jul 2021, 6:16 AM
Riyaz soni
2 Respuestas
+ 2
You need to print without ‘ ‘ and {} print(','.join(skills & job_skills))
5th Jul 2021, 12:42 PM
Angela
Angela - avatar