import streamlit as st NUMBER_OF_COLUMNS = 2 first_column, second_column = st.columns(NUMBER_OF_COLUMNS) first_column.text("This will go in FIRST column") second_column.text("This will go in SECOND column")