import streamlit as st a = st.number_input('A', 0, 10) b = st.number_input('B', 0, 10) st.text('A+B =' , a+b)