The interview question I gave yesterday was:
Write a function that takes a single string as input.
The string will be one of five values.
Each value corresponds to one of five other functions.
Your function should execute the correct corresponding function for each.
e.g. if you get “aaa” you should run the function named aaa()
There are many solutions.
Which would you choose and why?

Here is a link to a couple of solutions:
https://replit.com/@kevinelong/interview-question#main.py
Here is a video where I go a little further: