OTO Capital interview question

Difference between Pandas loc,iloc and range,arange.