Welcome to PyTrek!
Want to learn to code? Don't know where to start? PyTrek teaches you python through interactive coding puzzles, stories, and games, so that you stay engaged, and learning stays fun!
Try it: your first line of Python
No sign-in needed. Python runs right here in your browser. Edit the code, then press Run.
Challenge 1
- Press Run and observe the output.
- Replace the name
"ranger"with your own name. - Run again and notice the change!
hello.pyclick to edit
Ctrl+Enter also runs it.