Spaces:
Sleeping
Sleeping
Commit
•
6b34d8c
1
Parent(s):
e7ff442
Update pages/exercici7.py
Browse files- pages/exercici7.py +1 -1
pages/exercici7.py
CHANGED
@@ -10,7 +10,7 @@ if 'ja tinc pensat el numero' not in st.session_state:
|
|
10 |
st.session_state['intents'] = 0
|
11 |
secret = st.session_state['secret']
|
12 |
st.write(f"Número secret: {secret} (no li diguis a ningú)")
|
13 |
-
jugador = st.slider('Escull un valor',
|
14 |
if not jugador:
|
15 |
st.stop()
|
16 |
elif jugador > secret:
|
|
|
10 |
st.session_state['intents'] = 0
|
11 |
secret = st.session_state['secret']
|
12 |
st.write(f"Número secret: {secret} (no li diguis a ningú)")
|
13 |
+
jugador = st.slider('Escull un valor', 0, 100)
|
14 |
if not jugador:
|
15 |
st.stop()
|
16 |
elif jugador > secret:
|