zechang233 commited on
Commit
ffae647
1 Parent(s): aa84437
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
 
1
  import streamlit as st
2
 
3
  x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
1
+ import numpy as np
2
  import streamlit as st
3
 
4
  x = st.slider('Select a value')
5
+ st.write(x, 'squared is', np.sum([x, x]))