Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
|
4 |
+
# with open('/answer.txt', 'w') as file:
|
5 |
+
# answer =
|
6 |
+
|
7 |
+
answer = "Y"
|
8 |
+
user_answer = st.text_input('Your answer', value="")
|
9 |
+
|
10 |
+
if user_answer == answer:
|
11 |
+
st.markdown('YEAH! YOU MADE IT!')
|
12 |
+
else:
|
13 |
+
st.markdown('Nope...')
|