Post by w3schools.com
2,382,734 followers
Computers need to know what kind of information they're handling, that's what data types are for. When you write code, you're working with different kinds of data, numbers, text, true/false values, lists, the computer needs to know which one it's dealing with so it can handle it correctly, you can't add text to a number and expect a meaningful result. The core data types appear in almost every language, integers for whole numbers, floats for decimals, strings for text, booleans for true/false logic, and lists or arrays for collections of related items. Different languages handle types differently, understanding these types stop errors before they happen. Swipe through for more details. #w3schools #DataTypes #ProgrammingBasics #LearnToCode #Python #JavaScript #Java