How to use $ in text?

Prepend a backslash to the “$” character.

st.write("sdfgsdf dsfsdf \$ sdfsdfsfds \$ \
sdfsddfsdfsd \
sdfsddfdsf")