0

Please help me to solve this question

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. skills = {'Python', 'HTML', 'SQL', 'C++', 'Java', 'Scala'} job_skills = {'HTML', 'CSS', 'JS', 'C#', 'NodeJS'}

4th May 2021, 3:56 PM
Bitu Kumar Sha
Bitu Kumar Sha - avatar
7 Answers
+ 5
A hint is for example: for x in skills.i_t_r_e_t_on(job_skills):print(x)
4th May 2021, 4:58 PM
JaScript
JaScript - avatar
+ 1
a^b
4th May 2021, 5:20 PM
Shadoff
Shadoff - avatar
+ 1
Ratnapal Shende , really? are you sure? (1,2,3,4) this is tuple [1,2,3,4] this is list {3,2,4,1} this is SET actually
4th May 2021, 5:30 PM
Shadoff
Shadoff - avatar
+ 1
Shadoff oops sorry but I was bemused... 😅 Thank you for the correction!! đŸŒč
4th May 2021, 5:32 PM
Ratnapal Shende
Ratnapal Shende - avatar
+ 1
I wrote this, print(list((skills & job_skills)) but the resolution is adding [0] to make it: print(list((skills & job_skills)[0]) what is the index of 0 added at the end?
5th Mar 2022, 1:39 AM
Shalisa Miller
+ 1
@Shalisa Miller without [0] its output would be ['HTLM'] , so we need to put [0] to output 0 object from this list and the output is now HTLM
26th Jan 2023, 9:43 AM
Saul Goodman
Saul Goodman - avatar
0
Show us your approach first.
4th May 2021, 4:15 PM
Rahul Saxena
Rahul Saxena - avatar