Skip to main content
BookintermediatePaid

Learning Python

by Mark Lutz, David Ascher · Mark Lutz

An O'Reilly tutorial covering Python types, statements, functions, modules, and classes with exercises after each part. The second edition targets early Python 2, so language details are dated even though the core concepts still hold.

Visit resource

This link may earn us a small commission at no extra cost to you. Affiliate disclosure

More resources on Functions

WebsiteFree

javascript.info

JavaScript.info is a thorough, beginner-to-advanced JavaScript tutorial site with detailed explanations and practical examples of core concepts, including functions, scope, closures, and async/await. It also covers the DOM, browser APIs, and modern JavaScript features with hands-on code samples.

CourseFree

Logic and Set Theory

Learn functions within logic and set theory with this course by Richard Zach. Explore key concepts and principles now!

WebsiteFree

Stanford Encyclopedia of Philosophy - Set Theory

Joan Bagaria's peer-reviewed Stanford Encyclopedia of Philosophy entry surveying modern set theory: the ZFC axioms, ordinals and cardinals, the continuum hypothesis, forcing and independence results, large cardinals, and determinacy. Readers gain a map of the field's central questions and results.

WebsiteFree

MDN Web Docs - Functions

Mozilla's JavaScript guide chapter on functions: declarations, expressions, scope, closures, arguments, arrow syntax, and recursion. After reading it you can define functions, reason about scope chains, and choose between function forms in real code.

WebsiteFree

Python Official Tutorial - Functions

The Python tutorial's chapter on defining functions: def syntax, default and keyword arguments, arbitrary argument lists, lambda expressions, docstrings, and annotations. Working through it leaves you able to write and call Python functions correctly using the language's own reference wording.

VideoFree

Python Functions Tutorial

Corey Schafer's comprehensive tutorial on Python functions, highly recommended in r/learnprogramming.

See all Functions resources →