NishantKsingh commited on
Commit
ce03582
·
verified ·
1 Parent(s): d879f6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
- inp=int(input("Enter a value: "))
 
2
  if inp%2==0:
3
  print("Entered value is even")
4
  else:
 
1
+ import streamlit as st
2
+ inp=st.number_input("Enter a value: ")
3
  if inp%2==0:
4
  print("Entered value is even")
5
  else: