Mathemagic / app.py
RMHalak's picture
Update app.py
7f420bc verified
raw
history blame
274 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...')