Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,17 +1,16 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
#Globals
|
| 4 |
legal_numbers = [1,2,3,4,5,6,7,8,9]
|
| 5 |
col1, col2, col3 = st.columns(3)
|
| 6 |
col4, col5, col6 = st.columns(3)
|
| 7 |
col7, col8, col9 = st.columns(3)
|
| 8 |
|
| 9 |
-
#UIApp starts here
|
| 10 |
-
def set_page_config():
|
| 11 |
-
st.set_page_config(page_title="Python - Tic Tac Toe", page_icon=":python:")
|
| 12 |
-
st.header("Python - Tic Tac Toe")
|
| 13 |
-
st.text("Legal Numbers: " + "".join(str(legal_numbers)))
|
| 14 |
-
|
| 15 |
def get_userInput():
|
| 16 |
input = st.text_input("Enter a number between 1 to 9: ", key="input")
|
| 17 |
return input
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
#UIApp starts here
|
| 4 |
+
st.set_page_config(page_title="Python - Tic Tac Toe", page_icon=":python:")
|
| 5 |
+
st.header("Python - Tic Tac Toe")
|
| 6 |
+
st.text("Legal Numbers: " + "".join(str(legal_numbers)))
|
| 7 |
+
|
| 8 |
#Globals
|
| 9 |
legal_numbers = [1,2,3,4,5,6,7,8,9]
|
| 10 |
col1, col2, col3 = st.columns(3)
|
| 11 |
col4, col5, col6 = st.columns(3)
|
| 12 |
col7, col8, col9 = st.columns(3)
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
def get_userInput():
|
| 15 |
input = st.text_input("Enter a number between 1 to 9: ", key="input")
|
| 16 |
return input
|