Permalink
Browse files

La variable sens peut maintenant changer dans l'autre sens

  • Loading branch information...
robertvandeneynde committed Jan 24, 2018
1 parent 966ca3c commit b5b80e15ffedf882b2ee78eea22d4b54c6bd235d
Showing with 2 additions and 0 deletions.
  1. +2 −0 pygame0_code_minimal.py
View
@@ -35,6 +35,8 @@
ma_position = ma_position + 5 ma_position = ma_position + 5
if ma_position > 700: if ma_position > 700:
sens = -1 sens = -1
if ma_position < 0:
sens = 1
print(sens, ma_position) print(sens, ma_position)
# DESSIN # DESSIN

0 comments on commit b5b80e1

Please sign in to comment.