Day 2 of 🐍... Data Types: #single valued data types-- 🔢 int (Integer) •Used to store whole numbers (positive, negative, or zero) •No decimal point 🔢 float (Floating-point number) •Used to store decimal values •More precise for calculations involving fractions 🔄 complex •Used to store complex numbers •Written in the form: a + bj a → real part b → imaginary part j → imaginary unit in Python ✅ boolean (bool) •Stores only two values: True or False •Mostly used in conditions and decision making. #Python #PythonBasics #DataTypes #LearningPython #Programming #DataScience

To view or add a comment, sign in

Explore content categories