Hi,
Below that function definition you need to call it, i.e. you need to add
this line below
hello()
Cheers,
Carlos
El 27/03/20 a las 6:40 p. m., john houghton escribió:
I'm basically completely new to anaconda, spyder, and python. I've
installed anaconda navigator 1.9.12 (today) that comes with Spyder
4.1.1. The first program in the tutorial runs without apparent error
except it doesn't print hello world at least to the console. [stdout
pointed elsewhere?] I have restarted my computer (old imac running
10.13.6) several times and reinstalled anaconda three times. I had a
previous version of anaconda and spyder that worked fine 2 - 3 months
ago. When I logged in today, I was offered to upgrade spyder to 4.
That spyder upgrade didn't complete, so I figured to just start again
with anaconda navigator.
def hello():
"""Print "Hello World" and return None."""
print("Hello World")
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/be6db53e-ff95-4cb2-99db-294e9cd75bb9%40googlegroups.com
<https://groups.google.com/d/msgid/spyderlib/be6db53e-ff95-4cb2-99db-294e9cd75bb9%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/3ccb21e7-a96c-7cd5-c2de-69aa2cb95e78%40gmail.com.