LuisLozano commited on
Commit
ad1b18c
1 Parent(s): 1afbe4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import streamlit as st
2
 
3
- x = st.input_number("Dame un número")
4
 
5
  st.write(f"El número es {x+2}")
 
1
  import streamlit as st
2
 
3
+ x = st.number_input("Dame un número")
4
 
5
  st.write(f"El número es {x+2}")