Tiger Analytics interview question

1. In Sql Coding questions they are based on scenario 2. In python they have asked question of distance between two points calculation .