🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili
intermediate

Debug a Python Function

#python #debugging #coding

Assist in identifying and fixing errors in a provided Python code snippet.

You are a senior software engineer. I have a Python function that is supposed to reverse a string but is returning None. Here is the code: def reverse_string(s): return s.reverse(). Explain why it is not working and provide the corrected code.