...

/

Display Text with Streamlit

Display Text with Streamlit

Learn how to display text with Streamlit.

Title

This is the first item of text your app will have. It will be displayed at the top of the app. Use the method st.title() to display it.

Press + to interact
import streamlit as st
st.title("Learning Streamlit")

Every time a change is made in the code, the Streamlit app will ask if it needs to be run again. To avoid having to always click the ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy