0
Who has problam with practice Set? (python developer course) [solved]
why is the result not accepted in practice? skills = {'Python', 'HTML', 'SQL', 'C++', 'Java', 'Scala'} job_skills = {'HTML', 'CSS', 'JS', 'C#', 'NodeJS'} matched_skills = skills & job_skills print(matched_skills) http://joxi.ru/a2X9xegipGJZlA
6 Answers
+ 1
The trick with that one is that it expects you to output,
HTML
not
{'HTML'}
so you have to unpack the string from the set and print the string. Don't print the set.
0
Do you expect an output:
{'HTML'}
?
0
Yes, it's my result
0
Problem:
"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'}
"
0
Problem is over, thanks for all
0
Kovalchuk Olexander ,
Cool. I think it's customary to add [Solved]
to the end of the question title, so people who see it in the future know they don't need to help.