Variables and Data Types in Python
Variables and Data Types in Python
Variables hold values, while data types determine the form of those values. Python provides basic types like string, integer, float, and boolean.
Example
name = "Syarif"
age = 25
is_active = TrueUnderstand data types early so scripts are easier to read and maintain.
Last updated on