Book 'Python in high school' - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: Book 'Python in high school' (/thread-25092.html) |
Book 'Python in high school' - arnbod - Mar-19-2020 I would like to promote the release of my book "Python in high school - Algorithms and mathematics". It is a step-by-step explanation of programming to high school students through activities oriented towards mathematics, of course with Python! The book is now available here: https://exo7math.github.io/python1-en-exo7/ and also on sale on Amazon (at cost price): https://www.amazon.com/dp/B085RQRSHL Best, Arnaud RE: Book 'Python in high school' - micseydel - Mar-25-2020 It looks like you think that return needs to be in every function? https://exo7math.github.io/python1-en-exo7/functions/functions.pdf
RE: Book 'Python in high school' - arnbod - Mar-26-2020 Yes, it is a pedagogical choice to always end a function with the instruction 'return'. This allows to clearly delimit the block of the function. Anyway a function always returns a value, even if the 'return' instruction is not present! RE: Book 'Python in high school' - micseydel - Apr-10-2020 It's an odd choice. I'd recommend you do something more standard - generally simpler, more stream-lined code is preferable. |