This is my code while working with which I encountered this problem:
def getBill(basket): if len(basket) != 0: for index in range(len(df)):