Skip to main content

Posts

Showing posts from February, 2025

Python Data Types

 Welcome dear bloggers, My name is Python International and this is going to be the first post a python lesson series. Today we are going to name all the python data types without analyzing them. *This image does not contain all the types So, python has 8 basic data types Numeric Types.  They  re presents the data that has a numeric value and there are 3 categories: Integer {Int} . These are  only  whole number like -2, -1, 0, 1, 2 etc. Float {Float} . These are numbers with  decimals  like 5.5, 3.14 and even 1.0 Complex {Complex}.  These are numbers with a  real  and an  imaginary  part, written   real + imaginaryj (Z = 3 + 4)  Text Types. They represent the data that have a text value. String {str} .  A string is a collection of one or more characters put in a single quote, double -quote, or triple -quote.  String variables can be declared either by using single or double quotes, for example hello ...