# queues easy

Where's Maya?

Maya's mom is at the door, scanning the line. 👀

You get the current line (front first) and a target name (definitely in line). Print their position counted from the front, starting at 1 — position 1 means next up!

Example:

Input: line = ["leo", "maya", "kai", "ana"], target = "maya" Output: 2

Maya sits at index 1 (0-based). Counting from the front starting at 1 instead of 0 makes that position 2.

💡 need a hint?

q-wheres-maya.py🔒 given lines are locked — write your code in between
loading...