DEV Community

Aadarsh Ancha
Aadarsh Ancha

Posted on

Data types in python

Hello, Today I will be showing you data types in python.
Hope you enjoy!

The first data type is int, short for integer.
A integer is basically a number, Whole numbers,Negative numbers, and zero.

The Second one is float, which is the same as integer but a decimal

The third one is String. A string is a word or number with double quotes before and after it. Here is an example below⬇

Image description

Top comments (1)

Collapse
 
aadarsh_ancha_bba80fa9cdf profile image
Aadarsh Ancha

Hello hope you guys have a nice time viewing