Write fixed-width and preformatted text.
Function signature

st.text(body)

Parameters

body (str)

The string to display.

Was this page helpful?

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.