Multiple input boxes

I am taking input in a for loop.
But for each iteration it is printing a new input box.
I want take input repeatedly in the same input box.

It is filling the page with so many boxes according to the loop count
for i in range(100):
** a=st.text_box(“val”)**
** l.append(a)**

Here my code generates 100 boxes. But I need only one

Duplicate to I want to take multiple inputs in a for loop. Please try and keep to a single topic as much as possible, so people can understand the references. Thanks!

1 Like