(block 02) programming fundamentals and control structures
Unlock the secrets of coding! Learn the three core building blocks of all software: sequence, selection, and iteration. Write your first Python programs, make logical decisions, and use loops to create powerful, interactive applications.
All computer software - from simple smartphone apps to advanced game engines - is built using three fundamental building blocks: sequence, selection, and iteration. In this unit, you will learn how to write functional Python 3 code that accepts user input, stores data in memory variables, performs mathematical calculations, and makes logical decisions. You will master count-controlled (`for`) and condition-controlled (`while`) loops to automate repetitive tasks, and learn how to combine these control structures to build robust, interactive programs.
This page is mainly about 01_variables,_constants_&_memory_assignment
This page is mainly about 02_primitive_data_types_&_type_casting
This page is mainly about 03_console_input,_output_&_sequential_flow
This page is mainly about 04_arithmetic_operators_&_modular_arithmetic
This page is mainly about 05_relational_operators_&_boolean_conditions
This page is mainly about 06_single_&_dual_alternative_selection_(if-else)
This page is mainly about 07_multi-way_&_nested_selection_logic
This page is mainly about 08_definite_iteration_(count-controlled_for_loops)
This page is mainly about 09_indefinite_iteration_(condition-controlled_while_loops)
This page is mainly about 10_nested_iteration_&_integrated_control_structures
Last modified: September 24th, 2026
