main.py
"""Twelve — CPython 3.12, running here."""
import sys
from datetime import datetime
print("Twelve")
print("─" * 28)
print(f"CPython {sys.version.split()[0]}")
print(f"Now {datetime.now():%Y-%m-%d %H:%M}")
print("─" * 28)
# 3.12: f-strings may reuse the same quotes
print(f"Ready: {f"nested quotes work now"}")
type Point = tuple[float, float]
origin: Point = (0.0, 0.0)
print(f"origin = {origin}")
print("\nTry an example, or write your own.")
Output will land here.
The interpreter is still loading — you can write in the meantime.
"""Twelve — CPython 3.12, running here."""
import sys
from datetime import datetime
print("Twelve")
print("─" * 28)
print(f"CPython {sys.version.split()[0]}")
print(f"Now {datetime.now():%Y-%m-%d %H:%M}")
print("─" * 28)
# 3.12: f-strings may reuse the same quotes
print(f"Ready: {f"nested quotes work now"}")
type Point = tuple[float, float]
origin: Point = (0.0, 0.0)
print(f"origin = {origin}")
print("\nTry an example, or write your own.")
Output will land here.
The interpreter is still loading — you can write in the meantime.