4. Students - Dictionaries
Нямам идея дори как да започна да решавам тази задача. Моля за помощ!
4. Students
You will be receiving names of students, their ID, and a course of programming they have taken in the format "{name}:{ID}:{course}". On the last line, you will receive a name of a course in snake case lowercase letters. You should print only the information of the students who have taken the corresponding course in the format: "{name} - {ID}" on separate lines.
Note: each student's ID will always be unique
Input: Output:
Alex:6:programming basics Alex - 6 Maria - 7
Maria:7:programming basics
Kaloyan:9:advanced
Todor:10:fundamentals
programming_basics