What happens to the value that the user enters in a certain text input?

what happens after a user enters a value in a text input and how do i recover it to put it in my python function?

Hello @oumaima,
Whenever a user enters a text as input you can assign it to a certain variable and use it in your function.
review = st.text_input(“Enter The Review”,“Write Here…”)
So, here text will be assigned in “review” var.

Please refer to this discussion - How to take Text Input from a user

Let me know if you have any further doubts here!

2 Likes