I want to take certain input in the loop. For example, I want a product name from the user. If the product name is not provided then it will again ask for product name for the next two times. If the product name is not provided for the next two time then the output will come as try again later.
flag = 0 while i <=2: if slot[productName] == null: - utter_ask_productName else: flag = 1 break if flag == 1: - utter_perform_astion else: - utter_try_again_later