Skip to content

Commit 57637e7

Browse files
committed
testing: Reword prompts/comments in example code
1 parent d3bc0cc commit 57637e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lessons/beginners/testing/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,9 @@ Kód pro Kámen-Nůžky-Papír může, velice zjednodušeně, vypadat zhruba tak
199199
import random # (příp. import jiných věcí, které budou potřeba)
200200

201201
tah_pocitace = 'kámen'
202-
tah_hrace = input('Kam chceš hrát?')
202+
tah_hrace = input('Co chceš hrát (kámen, nůžky, papír)? ')
203203

204+
# (tady reálně bude spousta zanořených ifů)
204205
if tah_hrace == 'papír':
205206
print('Vyhrál{{a}} jsi!')
206207
else:
@@ -236,7 +237,7 @@ import random # (příp. import jiných věci, které budou potřeba)
236237

237238
def hrej_hru():
238239
tah_pocitace = 'kámen'
239-
tah_hrace = input('Kam chceš hrát?')
240+
tah_hrace = input('Co chceš hrát (kámen, nůžky, papír)? ')
240241

241242
# (tady reálně bude spousta zanořených ifů)
242243
if tah_hrace == 'papír':

0 commit comments

Comments
 (0)