Skip to main content
VideobeginnerFree

Control Flow in Python (if/else, loops)

Unknown

Corey Schafer's tutorial on Python control structures, highly recommended in r/learnpython.

Visit resource

More resources on Control Structures

WebsiteFree

GeeksforGeeks - Control Structures

Detailed explanations with examples in C++/Java/Python.

WebsiteFree

freeCodeCamp.org - Control Flow

Interactive lessons on if statements, loops in JS/Python, free.

VideoFree

freeCodeCamp Python for Beginners - Loops and Conditionals

Segment from full Python course praised in r/learnprogramming for fundamentals.

CourseFree

Programming for Everybody (Getting Started with Python)

This course aims to teach everyone the basics of programming computers using Python. We cover the basics of how one constructs a program from a series of simple instructions in Python. The course has no pre-requisites and avoids all but the simplest mathematics. Anyone with moderate computer experience should be able to master the materials in this course. This course will cover Chapters 1-5 of the textbook “Python for Everybody”. Once a student completes this course, they will be ready to take more advanced programming courses. This course covers Python 3.

WebsiteFree

w3schools.com

W3Schools is a comprehensive online learning resource for web development that provides tutorials, references, and interactive code examples across languages like HTML, CSS, JavaScript, SQL, and more. It includes hands-on practice for control structures (e.g., if/else, switch, loops) via its "Try it Yourself" editors and runnable code samples.

WebsiteFree

freecodecamp.org

freeCodeCamp is a nonprofit online learning platform offering free, self-paced coding lessons, interactive challenges, and hands-on projects across web development and computer science. Its curriculum covers control structures, JavaScript basics, algorithms, and more, with opportunities to earn certifications.

See all Control Structures resources →