Varanasi-Software-Junction / pythoncodecamp

Python repository for learning the language from the beginning
MIT License
10 stars 6 forks source link

Problems on Sets #14

Open champaksworldcreate opened 2 years ago

champaksworldcreate commented 2 years ago
  1. There are 3 students A, B & C knowing the following languages. A knows {C, C++, Java}, B knows {C++, Java , Python} and C knows {Java, Python , C, ,Pascal) Find the following A. Find subjects known to all three, B. Find subject known to A and not to B C. Find a list of all available subjects D. Find a language known to only known to one student E. Find the list of all students who know Python