Session State of multiple inputs text

Dear team,

I’m wondering of how to get the session state of multiple text input, which have unique key. I’m able to get the last text input only. How to access the key!

x= st.text_input(“x”, “30”,key=“1”)
y= st.text_input(“y”, “60”,key=“2”)
z= st.text_input(“z”, “0.85”,key=“3”)

No help :frowning: