Prakash N commited on
Commit
8a52da0
1 Parent(s): 46dbba1

added columns

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -27,9 +27,10 @@ st.markdown(""" #### LorSor helps you through a simple 3 stage process.
27
 
28
  col1, col2 = st.columns(2)
29
 
30
- col1.write("This is col1")
31
- x = col1.slider('Select a value')
32
- col1.write(x, ' squared is', x * x)
 
33
 
34
  col2.write("This is col2")
35
 
 
27
 
28
  col1, col2 = st.columns(2)
29
 
30
+ with col1:
31
+ col1.write("This is col1")
32
+ x = st.slider('Select a value')
33
+ st.write(x, ' squared is', x * x)
34
 
35
  col2.write("This is col2")
36