Skip to main content

Posts

Showing posts from April 21, 2021

DATA TYPES IN PYTHON | (Numeric,Boolean, Dictionary)

Previous Variables in Python  In python programming language everything is an object and data type tells us which types of value the object is. Data types are classified into five types in Python programming language, they are:- Best Laptop for Web Development  in 2021. NUMERIC DATATYPES BOOLEAN DATATYPES DICTIONARY SEQUENCE DATATYPE SET type() method  Type method is used to know what type of data we are using. Numeric Data Types Numeric type consists of numerical value data types for example whenever we assign a decimal value or numbers to variables then it comes under numeric data types. It contains : int float complex type Int or Integer It is a data type where the value given by the user can be positive or negative and can be of any length that means it can be a big integer or small integer but it should not be a fraction or a decimal value. #Python Program to # demonstrate int value p= 5556677 print ( type (p)) q=- 45 print ( type (q)) #output < class 'int' > <

Contact form

Name

Email *

Message *