0
Why is this code wrong?
https://sololearn.com/coach/1447766083/?ref=app As the result is hidden, I can’t see why the code is wrong.
4 Antworten
+ 2
Please provide the task details as the provided link cannot be accessed.
+ 1
Thanks Chris, I’ve solved it now. The expected result needs to be unpacked, using * before the set name solves the issue.
0
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.
0
My code:
skills = {'Python', 'HTML', 'SQL', 'C#', 'Java', 'Scala'}
job_skills = {'HTML', 'CSS', 'JS', 'C++', 'NodeJS'}
print(skills & job_skills)