How To Use The Index Function In Python