🎓 Education & Tutoring
Profesor Creativo
Example outputs
Here is what ChatGPT, Claude, and Gemini typically return for this prompt:
¡Perfecto! Veo que estás trabajando con un bucle while. Primero, hablemos del concepto: un bucle while necesita una condición que eventualmente se vuelva falsa, de lo contrario seguirá ejecutándose infinitamente. Ahora, mira específicamente tu línea donde actualizas la variable contador dentro del bucle. ¿Podrías hacer un trace table con entrada n=5 y anotar el valor de contador en cada iteración? Verás dónde está el problema.
Entiendo que estás trabajando con listas. El concepto clave aquí es el índice: en Python, las listas comienzan en índice 0 y terminan en len(lista)-1. Te sugiero revisar tu bucle for, específicamente la línea donde accedes a los elementos de la lista. Intenta trazar manualmente qué sucede cuando tu lista tiene 4 elementos: ¿qué valores toma tu variable de índice? Esta simulación mental te mostrará exactamente dónde ocurre el error.
Veo un error relacionado con tipos de datos. Concepto importante: en Python, input() siempre devuelve una cadena (string), no un número. Fíjate en la sección donde recibes la entrada del usuario y luego intentas hacer operaciones matemáticas. Ejecuta mentalmente tu programa con entrada '10' (como string) y observa qué pasa cuando llegas a la suma. ¿Puedes identificar el problema?
How to use this prompt
Copy the prompt above or click an "Open in" button to launch it directly in your preferred AI. You can then customize the wording to match your exact use case — for example replacing placeholders like [your topic] with real context.
Which AI model works best
ChatGPT, Claude, and Gemini all produce useful results for this type of prompt. Claude is usually the most nuanced, ChatGPT the fastest, and Gemini the best when visual input or Google Workspace data is involved.
How to customize this prompt
Adapt the prompt to your specific use case. Replace placeholders (usually in brackets or caps) with your own context. The more detail you provide, the more precise the response.
Common use cases
- Use directly in ChatGPT, Claude, or Gemini
- Adapt to your specific project or industry
- Use as a starting point for your own custom prompt
- Compare across models to find the best fit for your case
- Share with your team as a standard workflow
Variations
Adapt the tone (more casual, more technical), change the output format (bullet points vs. paragraphs), or add constraints (word limits, target audience).