my code is so simple
st.warning('This is a warning', icon="⚠️")
but i have a variable like s = 10 i want pass this variable to warning and the result should be like this
10 this is a warning
how is possible to do it?
thanks in advance
my code is so simple
st.warning('This is a warning', icon="⚠️")
but i have a variable like s = 10 i want pass this variable to warning and the result should be like this
10 this is a warning
how is possible to do it?
thanks in advance
f-string does not work?
s = 10
st.warning(f'{s} This is a warning', icon="⚠️")