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