0% found this document useful (0 votes)
36 views

Computer Science Art-Integrated Project 2021: Name - Rana Harshil Class:-11 A Sub - Computer Science Roll No - 11137

This document summarizes key data types in Python including integers, floats, booleans, strings, lists, tuples, and complex numbers. It describes the different number types like int, long, and float and their value ranges. It also discusses mutable vs immutable types and various operators like arithmetic, relational, logical, and bitwise operators. The document was created by Rana Harshil, a class 11 student, for their computer science art-integrated project on the topic of data handling.

Uploaded by

12A36RanaHarshil
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Computer Science Art-Integrated Project 2021: Name - Rana Harshil Class:-11 A Sub - Computer Science Roll No - 11137

This document summarizes key data types in Python including integers, floats, booleans, strings, lists, tuples, and complex numbers. It describes the different number types like int, long, and float and their value ranges. It also discusses mutable vs immutable types and various operators like arithmetic, relational, logical, and bitwise operators. The document was created by Rana Harshil, a class 11 student, for their computer science art-integrated project on the topic of data handling.

Uploaded by

12A36RanaHarshil
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Computer science

art-integrated
project 2021

Name;-Rana harshil
Class:-11 a
Sub;-computer science
Roll no;-11137
Data handling
Data Types
Mutable and Immutable types
Operators
 Data Type specifies which type of a value a variable can store .
Python provides us the type() functions which returns the type of
the variable passed
numbers
• As it is clear the name the number data types
are used to store numeric values in python .

The number in python have following data


types .
I. Integers
II. Float
III. Complex numbers
 Types Integers

Integers (signed) Booleans


 int (signed integers) − They are  A boolean expression (or
often called logical expression) evaluates
just integers or ints, are
to one of two states true or
positive or negative
whole numbers with no false.
decimal point.  Python provides
 long (long integers ) − Also the boolean type that can
called longs, they be either set to False or
are integers of unlimited size, True. Many functions and
written like integers and
operationsreturns boolean 
followed by an uppercase or
lowercase L. objects.
Integers
Float range
Complex numbers are combination of real and imaginary
part .complex numbers are in form of X+Xj, where X is a real part and Y
is imaginary part .

Complex numbers
• SEQUENCES

A python sequence is an ordered collection of items ,where each item is


indexed by an integer. The three types of sequence data types available in
python are strings, lists and tUPLES .

SEQUENCES

Strings Tuples
Lists
Mutable and immmutable
Operators
 An operator is used to perform specific
mathematical or logial operation on values .
the values that the operators work on are
called operands . For example , in the
expression 10+num,the value 10, and the
variable num are operands and the +(plus)sign
is an operator .
Arithematic
operators
Relational
operators
Identify
operators
Logical operators
Bitwise
operators
Mebership
operators
thank you

You might also like