Set up python environment for easier development

This commit is contained in:
Johan Sandoval
2026-07-21 19:01:11 -05:00
parent 4f15387a70
commit 78725a4eed
7 changed files with 72 additions and 3 deletions
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
d="problems/$1"; mkdir -p "$d"
cat > "$d/solution.py" <<'EOF'
class Solution:
def solve(self):
pass
EOF
cat > "$d/solution_test.py" <<'EOF'
from solution import Solution
def test_solve():
assert Solution().solve() is None
EOF