Overwrite string in for loop in Jupyter Lab Output widget
问题 I am trying to create a sort of survey using Jupyter widgets. As a bare-bone example, I would like to ask the user if he likes a kind of fruit in a list, let him check yes/no in a RadioButtons widget, let him submit his answer, and then ask him if he likes the next fruit. I would expect something like this: Do you like apples? * yes * no Submit After pressing Submit , the apples string would be substituted by the next fruit in the list: Do you like oranges? * yes * no Submit What I am getting