feat: add caesar cipher helper solution

This commit is contained in:
Arif Hizlan 2026-06-06 14:03:14 +02:00
commit 4fe95ea1a0
5 changed files with 29 additions and 0 deletions

17
.gitignore vendored Normal file
View File

@ -0,0 +1,17 @@
# Python
.venv/
__pycache__/
*.pyc
# tooling
.pytest_cache/
.ruff_cache/
# editors
.idea/
# OS noise
.DS_Store
# Critical
.env

0
.pre-commit-config.yaml Normal file
View File

0
README.md Normal file
View File

4
requirements.txt Normal file
View File

@ -0,0 +1,4 @@
ruff==0.15.1
black==26.1.0
pytest==9.0.2
pre-commit==4.5.1

8
src/oop_solution.py Normal file
View File

@ -0,0 +1,8 @@
class Animal:
def __init__(self, name):
self.name = name
class Cat(Animal):
def speak(self) -> str:
return f"{self.name} meows."