Vinci Mascot
ProfileRoadmapLeaderboardCourse CatalogPractice
Practice Lab

Test algorithms, build intuition, or practice Python freely in your browser.

Free PracticeAny Level

Free Scratchpad

An open playground to write, test, and run any Python code in the browser. Experiment with algorithms, print data, or test functions freely!

Helpful Hints & Guidance
  • You can import standard Python libraries like math, random, json, re, and datetime.
  • Press "Run Code" (or Ctrl+Enter / Cmd+Enter) to execute your code.
  • Check the Console tab below to see your output.
Python 3.11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Vinci Python Practice Scratchpad
# Write and run any Python code here!

def greet(name):
    return f"Hello, {name}! Welcome to the Vinci Practice Lab."

message = greet("Coder")
print(message)

# Try creating your own functions or math calculations below:
numbers = [1, 2, 3, 4, 5]
squared = [n ** 2 for n in numbers]
print(f"Squares: {squared}")

// Press "Run Code" to execute in browser WebAssembly runtime
ProfileRoadmapCatalogPractice