Python Runner
Home
About
š Python Runner
CSP Safe ⢠No CDN ⢠Pi-hole Safe
Code Editor
# Python Script Runner # Supports: print, variables, math, strings, lists # Simple greeting name = "World" print(f"Hello, {name}!") # Math operations x = 10 y = 5 print(f"{x} + {y} = {x + y}") print(f"{x} * {y} = {x * y}") # Lists numbers = [1, 2, 3, 4, 5] print(f"Numbers: {numbers}") # String operations message = "Python is awesome" print(message.upper()) print(message.lower()) print(message.replace("awesome", "great")) # More calculations total = 0 for num in numbers: total = total + num print(f"Sum: {total}")
Output
Ready to run Python code!
ā¶ Run Code
šļø Clear Output
Basic Example
Math
Strings
Lists