Python is a general-purpose coding language—which means that, unlike HTML, CSS, and JavaScript, it can be used for other types of programming and software development besides web development. That includes back end development, software development, data science and writing system scripts among other things.
hero.moveUp() this python code makes the hero move up
hero.moveRight() this code makes the hero move right
hero.moveUp(2) this code lets the hero move up and the number is the amount of spaces he can move
hero.use("door") this code is a command to let the hero use certain things like a door or switch
helper.build("rightArrow") this code helps build passage ways or arrows to direct you
block = game.createObstacle("ruin") this is one of the harder python codes it creates obstacles for your game and you decide what you want