Data Types
variables can hold different
data types
Define "casting".
The process of ensuring data is set to the correct data type.
A sequence of steps/instructions to solve a problem.
What are integers?
Whole numbers
What data type is being casted here?
num1=int(input("Enter a number:"))
Integer
Define "flowchart".
A diagram showing the sequence of actions / graphical representation to show steps to solve a problem.
What is an input function?
used to capture data from users
What data type is being casted here?
num1=float(input("Enter a number:"))
Decimal
Define "syntax".
Structure of the code used in a programming language.