Data Types Explorer
In programming, data has different types. Here are the main ones:
📝 String (Text)
Text wrapped in quotes. Used for names, messages, etc.
"Hello" "John" "123 Main St"
🔢 Number (Integer/Float)
Numbers for calculations. Can be whole or decimal.
42 3.14 -10
✅ Boolean (True/False)
Only two values: true or false. Used for conditions.
true false
📋 Array (List)
A collection of items in order.
["apple", "banana", "cherry"] [1, 2, 3, 4, 5]