def check_for_empty(): check = ViewDBbilling.db_check_for_empty() if check == 0: return 0 else: return 1
def check_for_empty(): check = ViewDBbilling.db_check_for_empty() if check == 0: print("Your cart is empty.!") else: fetching_chosen_restaurant()