Skip to main content
CoursebeginnerFree

CS50's Introduction to Programming with Python

David J. Malan

An introduction to programming using Python, a popular language for general-purpose programming, data science, web programming, and more.

Visit resource
Also charted under:Variables & Data Types

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 β†’