Values, Types, and Variables
Values Data Information Numbers Text Pretty much anything
Types All data values have a type (a kind) int ~ integers (whole numbers) Example: 25 float ~ floating-point numbers (decimal numbers) Example: strings ~ text Example: “hello!!!!!!!1” Another Example: “53153”
Variables A label that acts as a container to store a value Just like math! Variable Name Rules: 1. May contain letters, numbers, and underscore _ 2. Cannot start with a number 3. Must not have any special characters 4. Cannot be a special keyword (if, while, def)