Write Python. Hit run.
Pythonrunner is a Python playground that lives in your browser. No installs, no logins, no setup. Just a blinking cursor and the full Python you already know.
-
0
setup time
-
3.13
python version
-
∞
free runs
# A simple greeter
name = input("What's your name? ")
print("Hello " + name + "!")
Everything you need. Nothing you don't.
Pythonrunner is built on a single idea: running Python should feel like opening a new tab in your browser. We removed every step between you and the run button.
-
Instant runtime
Python 3.13 boots in your browser via WebAssembly. First run in under a second.
-
Shareable links
Every program gets a permalink. Paste it in a chat and send it to a classmate or friend.
-
Syntax highlighting
Keywords, strings, and numbers light up the moment you type. No extension to install.
-
Safe to run
Code runs in a browser tab, isolated from your files. Run any program without worry.
-
Built for classrooms
Teachers hand out a single link. Students focus on the code, not on installing Python.
-
Examples to remix
Start from a working example. A game, algorithm, or command line application.
Pick an example. Hit run.
Each example is a real, runnable program. Open it, change a number, see what happens. That's the whole pitch.
# The classic FizzBuzz program
for i in range(1, 16):
fizz = "Fizz" * (i % 3 == 0)
buzz = "Buzz" * (i % 5 == 0)
print(fizz + buzz or i)
# A simple prime number checker
num = int(input("Give a number: "))
for i in range(2, int(num**0.5) + 1):
if num % i == 0:
print("Not prime")
break
else:
print("Prime")
# A word counter
sentence = input("Give a sentence: ")
words = sentence.split()
print("Number of words:", len(words))
# A number guessing game
import random
number = random.randint(1, 100)
guess = None
while guess != number:
guess = int(input("Guess the number: "))
if guess < number:
print("Guess higher!")
elif guess > number:
print("Guess lower!")
else:
print("You got it!")
# A Caesar cipher
text = input("Give a lowercase text: ")
shift = int(input("Shift by: "))
result = ""
for char in text:
if "a" <= char <= "z":
result += chr((ord(char) - ord("a") + shift) % 26 + ord("a"))
else:
result += char
print(result)
# Rock, paper, scissors
import random
choices = ["rock", "paper", "scissors"]
first_wins = [("rock", "scissors"), ("paper", "rock"), ("scissors", "paper")]
computer = random.choice(choices)
player = input("rock, paper or scissors? ")
print(f"Computer chose {computer}")
if player == computer:
print("Tie!")
elif (player, computer) in first_wins:
print("You win!")
else:
print("Computer wins!")
# Factorial using recursion
def factorial(n):
if n == 0:
return 1
return n * factorial(n - 1)
n = int(input("Give a number: "))
print(f"{n}! = {factorial(n)}")
# Simple statistics
numbers = []
entry = input("Give a number: ")
while entry != "":
numbers.append(float(entry))
entry = input("Give next number (or only Enter to end): ")
print(f"Count : {len(numbers)}")
print(f"Sum : {sum(numbers)}")
print(f"Average: {sum(numbers) / len(numbers)}")
print(f"Minimum: {min(numbers)}")
print(f"Maximum: {max(numbers)}")
A running program. In four steps.
-
Open a tab
No account, no download. The page is the editor and the runtime.
-
Write Python
Line numbers, syntax highlighting. The basics done right.
-
Hit run
The terminal shows the output. Errors point to the correct line.
-
Share the link
Send your program to anyone. They run it the same way you did.
One link. Thirty students. Zero setup.
Stop spending the first lesson installing Python. Hand out a pythonrunner link and the class is coding within seconds. On laptops, tablets, phones or any other device with a browser.
Previously, I lost hours fixing Python installs or editor issues. Now students open a tab and start coding on day one.
Open the editor. Start typing.
Run Python now- free
- forever
- in your browser