🏠 Startseite
Vergleiche
📊 Alle Benchmarks 🦖 Dinosaurier v1 🦖 Dinosaurier v2 ✅ To-Do-Listen-Apps 🎨 Kreative freie Seiten 🎯 FSACB - Ultimatives Showcase 🌍 Übersetzungs-Benchmark
Modelle
🏆 Top 10 Modelle 🆓 Kostenlose Modelle 📋 Alle Modelle ⚙️ Kilo Code
Ressourcen
💬 Prompt-Bibliothek 📖 KI-Glossar 🔗 Nützliche 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