Saltar al contenido principal
🔒 Modo vista previa. Las primeras quince lecciones de Foundations son gratis; esta es Pro. Inicia un trial de 7 días para desbloquear el editor, las pistas AI y el resto del programa. Tarjeta requerida, cancela cuando quieras en Dashboard.Iniciar trial de 7 días →
← CursosPython FoundationsMódulo 8 · Python moderno y capstoneSugerencias de tipo: opcional, unión, genéricosfix162 / 174
+100 XP
Tarea🌐 shown in EN
📝 **Question:** The function below is missing its annotation — fix it so the signature is \`def greet(name: str) -> str:\`. Print \`greet("Ada")\`.\nExpected: hi Ada 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
✏️ Escribe tu código aquí
🐍
Cargando Python...
Descarga única (~1 MB). Después, es instantáneo.
📊 Resultado
Pulsa Ejecutar para ver el resultado...