In the Tutorial Tool, if you have a JavaScript tutorial with spy code snippets, it displays them as Python.
Repro -
Instructions here....
sprites.onOverlap(SpriteKind.Player, SpriteKind.Food, function (sprite, otherSprite) {
info.changeScoreBy(1)
otherSprite.setPosition(randint(0, 160), randint(0, 120))
info.startCountdown(10)
})