Code: Select all
label a:
python:
import random
rndm = random.randint(1,200)
label nbrplace:
nbr = renpy.input("Nombre de 0 a 200", length=3)
if nbr == rndm
usay "Bravo [player], tu as gagné!"
scene white
return
else
if nbr < rndm
usay "inférieur!"
jump nbrplace
else
usay "supérieur"
jump nbrplace
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script-example.rpy", line 341: indentation mismatch.
Ren'Py Version: Ren'Py 6.99.14.1.3218
Tue Feb 27 11:14:41 2018
the error at line 341 is : label a:
Sorry, I'm not English so I do not write very well