🏠 Home
Prestatietests
📊 Alle benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List applicaties 🎨 Creatieve vrije pagina's 🎯 FSACB - Ultieme showcase 🌍 Vertaalbenchmark
Modellen
🏆 Top 10 modellen 🆓 Gratis modellen 📋 Alle modellen ⚙️ Kilo Code
Bronnen
💬 Promptbibliotheek 📖 AI-woordenlijst 🔗 Nuttige links
medium

Refactor Code for Readability

Improve the structure and naming conventions of a given Python function.

Refactor the following Python function to improve readability and adhere to PEP 8 standards. Rename variables to be descriptive, add docstrings, and simplify complex logic where possible: def calc(a, b, c): if c > 0: return a * b else: return a + b