🏠 Главная
Бенчмарки
📊 Все бенчмарки 🦖 Динозавр v1 🦖 Динозавр v2 ✅ Приложения To-Do List 🎨 Творческие свободные страницы 🎯 FSACB - Ультимативный показ 🌍 Бенчмарк перевода
Модели
🏆 Топ-10 моделей 🆓 Бесплатные модели 📋 Все модели ⚙️ Режимы Kilo Code
Ресурсы
💬 Библиотека промптов 📖 Глоссарий ИИ 🔗 Полезные ссылки
hard

Python Code Debugger

#coding #python #debugging

Identifies bugs and logic errors in Python code snippets.

Analyze the following Python code snippet for potential bugs, logic errors, or performance issues. Provide a corrected version of the code and a brief explanation of what was wrong and how you fixed it. Code: def calculate_average(numbers): sum = 0 for n in numbers: sum += n return sum / len(numbers) print(calculate_average([10, 20, 30]))