Spaces:
Sleeping
Sleeping
import streamlit as st | |
x = st.slider('Select a value') | |
st.write(x, 'squared is', x * x) | |
def print_hi(name): | |
# Use a breakpoint in the code line below to debug your script. | |
print(f'Hi, {name}') # Press ⌘F8 to toggle the breakpoin | |
# Press the green button in the gutter to run the script. | |
if __name__ == '__main__': | |
print_hi('PyCharm') | |
# See PyCharm help at https://www.jetbrains.com/help/pycharm/ | |