American Airlines Interview Question

some basic question related to python, databricks etc