# power tools medium

Two Classes, One Name

Room A and Room B share exactly ONE student name — find it and settle the mystery. 🕵️

You get the rooma and roomb name lists, sharing exactly one name. Print that name.

Example:

Input: rooma = ["mia", "leo", "kai"], roomb = ["ana", "leo", "zed"] Output: leo

The overlap of the two sets has exactly one member — "leo".

💡 need a hint?

pt-two-classes-one-name.py🔒 given lines are locked — write your code in between
loading...