Citadel Interview Question

Python questions plus logic questions