Just use:
unit = st.selectbox('Choose Unit', options=dict[prop], key=3)
Also don’t use dict as variable name as it is a data type in python. You can use mydict instead for example.
Just use:
unit = st.selectbox('Choose Unit', options=dict[prop], key=3)
Also don’t use dict as variable name as it is a data type in python. You can use mydict instead for example.