Write A Python Program Using Index Function