bvilanova commited on
Commit
b46aa0b
·
verified ·
1 Parent(s): 08df8e2

Update pages/ex6: Pedra-paper-tisora.py

Browse files
Files changed (1) hide show
  1. pages/ex6: Pedra-paper-tisora.py +3 -3
pages/ex6: Pedra-paper-tisora.py CHANGED
@@ -5,11 +5,11 @@ n_tirades=0
5
  jugador=""
6
  ordinador=""
7
 
8
- if st.button("Paper"):
9
  jugador="Paper"
10
- if st.button("Pedra"):
11
  jugador="Pedra"
12
- if st.button("Tisora"):
13
  jugador="Tisora"
14
 
15
  while n_tirades==1:
 
5
  jugador=""
6
  ordinador=""
7
 
8
+ if st.button("Paper"):
9
  jugador="Paper"
10
+ if st.button("Pedra"):
11
  jugador="Pedra"
12
+ if st.button("Tisora"):
13
  jugador="Tisora"
14
 
15
  while n_tirades==1: