Tavant interview question

Basic Python and SQL questions