vodkaslime's picture
button
db5635b unverified
raw
history blame
143 Bytes
import streamlit as st
x = st.slider("Select a value")
st.write(x, "squared is", x * x)
b = st.button()
if b:
st.write("button clicked")