Exercise 25 nothing happens when importing


#1

I succesfully start python by typing python.

The file is saved as ex25.py and I’m in the correct directory in terminal.

Then I type “import ex25” but the terminal goes to a new prompt without showing any error code or anything else.

I have copied the code exactly.

The answers on google does not fit.

What’s wrong?

edit: In the WYSS section the sentence “All good things come to those who wait.” is mentioned, but there is no sentence like this in the code.


#2

Usually import doesn’t do anything except load up the code so you can use it. Then you can start calling functions on ex25. Take a look at the video as I think watching me do it might make it clearer.