Spaces:
Sleeping
Sleeping
File size: 305 Bytes
c20b3ba 7f420bc 95699f0 c20b3ba eca5a4c c20b3ba eca5a4c d6f7687 eca5a4c c20b3ba |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import streamlit as st
with open('./answer.txt', 'r') as file:
answer = str(file)
user_answer = st.text_input('Insert your answer', value="")
if user_answer == "":
# pass
st.markdown(answer)
elif user_answer == answer:
st.markdown('YEAH! YOU MADE IT!')
else:
st.markdown('Nope...') |