Mathemagic / app.py
RMHalak's picture
Update app.py
eca5a4c verified
raw
history blame
273 Bytes
import streamlit as st
with open('/answer.txt', 'r') as file:
answer = file
user_answer = st.text_input('Insert your answer', value="")
if user_answer == "":
pass
elif user_answer == answer:
st.markdown('YEAH! YOU MADE IT!')
else:
st.markdown('Nope...')