|Chapter:||Decision Structures And Boolean Logic|
What is a control structure?
A control structure is a logical design that controls the order in which a set of statements execute. The simplest type of control structure is the sequence structure. A sequence structure is a set of statements that execute in the order that they appear.
For example, the following code is a sequence structure because the statements execute from top to bottom.
name = input('What is your school name? ')
age = int(input('What is your age? '))
print('School Name:', name)