evanperez commited on
Commit
d7d385a
1 Parent(s): 70fc1b1

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ x = st.slider('Select a value')
4
+ st.write(x, 'squared is', x * x)
5
+
6
+ def print_hi(name):
7
+ # Use a breakpoint in the code line below to debug your script.
8
+ print(f'Hi, {name}') # Press ⌘F8 to toggle the breakpoin
9
+ # Press the green button in the gutter to run the script.
10
+ if __name__ == '__main__':
11
+ print_hi('PyCharm')
12
+
13
+ # See PyCharm help at https://www.jetbrains.com/help/pycharm/