We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9d5c13 commit 0bbbd05Copy full SHA for 0bbbd05
PyBadge_Blinka_Jump_Game/code.py
@@ -222,7 +222,7 @@ def life():
222
sparky0_grid.x = 5
223
sparky1_grid.x = 40
224
sparky2_grid.x = 65
225
- score_area.text = 300
+ score_area.text = str(300)
226
new_game_text.text = "BLINKA JUMP"
227
life()
228
# if start is pressed...
@@ -246,7 +246,7 @@ def life():
246
# adds 10 points every time a Sparky is cleared
247
total_score = score + jump_score
248
# displays score as text
249
- score_area.text = int(total_score)
+ score_area.text = str(int(total_score))
250
251
# puts Sparky states and x location into callable arrays
252
for s in range(3):
0 commit comments