Ejercicio nº 1 Python

Soy nuevo en el mundo de la programación y ya en el primer ejercicio de Python me estoy estrellando.

def hello():
return ‘Hola mundo!’
print(hello())

Me da error, escribo este mismo código en VSC y funciona.
Agradecería quien me pude ayudar, gracias por anticipado

What do the tests say when you run them?

If you translate the test output, you’re going to see results different from what the tests are actually telling you!

Running code in VS Code and running the unit tests are completely different. If you want to use VS Code, make sure you’re actually running the tests.

¿Qué dicen las pruebas al ejecutarlas?

Si interpretas la salida de las pruebas, ¡verás resultados diferentes a lo que realmente indican!

Ejecutar código en VS Code y ejecutar pruebas unitarias son procesos completamente distintos. Si quieres usar VS Code, asegúrate de ejecutar las pruebas correctamente.