4 Answers
New Answervar doesn't return anything, var is the name you give for what the function returns. And a function only returns something if you specify that. If you don't, var will be None. So in the function you'd have to write: return 'Hi!' Then var would contain 'Hi!' and you could print it out as expected.
Since the function itself prints "Hi!" just call the function normally: some_func() No need to save it to a variable (var in this case). Check the link below for a refresher on none (the answer is on the 2nd page of the link): https://www.sololearn.com/learn/Python/2449/?ref=app Hint: Try to read the comments section of the lesson. You will find very useful info there.