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

Python Data Types

NOTES

Uploaded by

Auxilia Emily
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views

Python Data Types

NOTES

Uploaded by

Auxilia Emily
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Python Data Types


Read Courses Practice Jobs

Data types are the classification or categorization of data items. It represents


the kind of value that tells what operations can be performed on a particular
data. Since everything is an object in Python programming, data types are
classes and variables are instances (objects) of these classes. The following
are the standard or built-in data types in Python:

Numeric
Sequence Type
Boolean
Set
Dictionary
Binary Types( memoryview, bytearray, bytes)

What is Python type() Function?


To define the values ​of various data types and check their data types we use
the type() function. Consider the following examples.

This code assigns variable ‘x’ different values of various data types in
We use cookies to ensure
Python. you have the
It covers best browsing
string, experience
integer, on our website.
float, complex, By usinglist, tuple, range,
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Got It !
dictionary, set, frozenset,Policy boolean, bytes, bytearray, memoryview, and the

https://www.geeksforgeeks.org/python-data-types/ 1/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

special value ‘None’ successively. Each assignment replaces the previous


value, making ‘x’ take on the data type and value of the most recent
assignment.

90% Refund Hack

1200+ have already taken up the challenge. It's your turn now! Get 90% refund
on course fees upon achieving 90% completion.Discover How

Python

x = "Hello World"
x = 50
x = 60.5
x = 3j
x = ["geeks", "for", "geeks"]
x = ("geeks", "for", "geeks")
x = range(10)
x = {"name": "Suraj", "age": 24}
x = {"geeks", "for", "geeks"}
x = frozenset({"geeks", "for", "geeks"})
x = True
x = b"Geeks"
x = bytearray(4)
x = memoryview(bytes(6))
x = None

Numeric Data Types in Python


The numeric data type in Python represents the data that has a numeric
value. A numeric value can be an integer, a floating number, or even a
complex number. These values are defined as Python int, Python float, and
Python complex classes in Python.
We use cookies to ensure you have the best browsing experience on our website. By using
Integers
our site, you – This
acknowledge value
that you is represented
have read by Cookie
and understood our int class.
Policy &ItPrivacy
contains positive or
negative whole numbers Policy(without fractions or decimals). In Python, there

https://www.geeksforgeeks.org/python-data-types/ 2/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

is no limit to how long an integer value can be.


Float – This value is represented by the float class. It is a real number
with a floating-point representation. It is specified by a decimal point.
Optionally, the character e or E followed by a positive or negative integer
may be appended to specify scientific notation.
Complex Numbers – A complex number is represented by a complex
class. It is specified as (real part) + (imaginary part)j. For example – 2+3j

Note – type() function is used to determine the type of data type.

Example: This code demonstrates how to determine the data type of


variables in Python using the type() function. It prints the data types of
three variables: a (integer), b (float), and c (complex). The output shows
the respective data types for each variable.

Python

a = 5
print("Type of a: ", type(a))

b = 5.0
print("\nType of b: ", type(b))

c = 2 + 4j
print("\nType of c: ", type(c))

Output:

Type of a: <class 'int'>


Type of b: <class 'float'>
Type of c: <class 'complex'>

Sequence Data Type in Python


The sequence Data Type in Python is the ordered collection of similar or
different data types. Sequences allow storing of multiple values in an
organized and efficient fashion. There are several sequence types in Python
We use– cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Python String Policy

https://www.geeksforgeeks.org/python-data-types/ 3/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Python List
Python Tuple

String Data Type

Strings in Python are arrays of bytes representing Unicode characters. A


string is a collection of one or more characters put in a single quote, double-
quote, or triple-quote. In Python there is no character data type, a character
is a string of length one. It is represented by str class.

Creating String
Strings in Python can be created using single quotes, double quotes, or even
triple quotes.

Example: This Python code showcases various string creation methods. It


uses single quotes, double quotes, and triple quotes to create strings with
different content and includes a multiline string. The code also demonstrates
printing the strings and checking their data types.

Python

String1 = 'Welcome to the Geeks World'


print("String with the use of Single Quotes: ")
print(String1)
String1 = "I'm a Geek"
print("\nString with the use of Double Quotes: ")
print(String1)
print(type(String1))
String1 = '''I'm a Geek and I live in a world of "Geeks"'''
print("\nString with the use of Triple Quotes: ")
print(String1)
print(type(String1))

String1 = '''Geeks
For
Life'''
print("\nCreating a multiline String: ")
print(String1)

Output:
We use cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/python-data-types/ 4/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

String with the use of Single Quotes:


Welcome to the Geeks World
String with the use of Double Quotes:
I'm a Geek
<class 'str'>
String with the use of Triple Quotes:
I'm a Geek and I live in a world of "Geeks"
<class 'str'>
Creating a multiline String:
Geeks
For
Life

Accessing elements of String

In Python programming, individual characters of a String can be accessed by


using the method of Indexing. Negative Indexing allows negative address
references to access characters from the back of the String, e.g. -1 refers to
the last character, -2 refers to the second last character, and so on.

Example: This Python code demonstrates how to work with a string named
‘String1′. It initializes the string with “GeeksForGeeks” and prints it. It then
showcases how to access the first character (“G”) using an index of 0 and
the last character (“s”) using a negative index of -1.

Python

String1 = "GeeksForGeeks"
print("Initial String: ")
print(String1)
print("\nFirst character of String is: ")
print(String1[0])
print("\nLast character of String is: ")
print(String1[-1])

Output:
We use cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/python-data-types/ 5/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Initial String:
GeeksForGeeks
First character of String is:
G
Last character of String is:
s

Note – To know more about strings, refer to Python String.

List Data Type

Lists are just like arrays, declared in other languages which is an ordered
collection of data. It is very flexible as the items in a list do not need to be of
the same type.

Creating a List in Python

Lists in Python can be created by just placing the sequence inside the square
brackets[].

Example: This Python code demonstrates list creation and manipulation. It


starts with an empty list and prints it. It creates a list containing a single
string element and prints it. It creates a list with multiple string elements
and prints selected elements from the list. It creates a multi-dimensional list
(a list of lists) and prints it. The code showcases various ways to work with
90%lists,
Refundincluding
@Courses single
Free Python
and3 multi-dimensional
Tutorial Data Types Control
lists. Flow Functions List String Set

Python

List = []
print("Initial blank List: ")
print(List)
List = ['GeeksForGeeks']
print("\nList with the use of String: ")
print(List)
List = ["Geeks", "For", "Geeks"]
print("\nList containing multiple values: ")
print(List[0])
print(List[2])
List = [['Geeks', 'For'], ['Geeks']]
We useprint("\nMulti-Dimensional
cookies to ensure you have the best browsing
List: ")
experience on our website. By using
our site, you acknowledge
print(List)
that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/python-data-types/ 6/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Output:

Initial blank List:


[]
List with the use of String:
['GeeksForGeeks']
List containing multiple values:
Geeks
Geeks
Multi-Dimensional List:
[['Geeks', 'For'], ['Geeks']]

Python Access List Items

In order to access the list items refer to the index number. Use the index
operator [ ] to access an item in a list. In Python, negative sequence indexes
represent positions from the end of the array. Instead of having to compute
the offset as in List[len(List)-3], it is enough to just write List[-3]. Negative
indexing means beginning from the end, -1 refers to the last item, -2 refers
to the second-last item, etc.

Python

List = ["Geeks", "For", "Geeks"]


print("Accessing element from the list")
print(List[0])
print(List[2])
print("Accessing element using negative indexing")
print(List[-1])
print(List[-3])

Output:

Accessing element from the list


Geeks
We use Geeks
cookies to ensure you have the best browsing experience on our website. By using
our site,Accessing
you acknowledge that youusing
element have readnegative
and understood our Cookie Policy & Privacy
indexing
Policy
Geeks
https://www.geeksforgeeks.org/python-data-types/ 7/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Geeks

Note – To know more about Lists, refer to Python List.

Tuple Data Type

Just like a list, a tuple is also an ordered collection of Python objects. The
only difference between a tuple and a list is that tuples are immutable i.e.
tuples cannot be modified after it is created. It is represented by a tuple
class.

Creating a Tuple in Python


In Python, tuples are created by placing a sequence of values separated by a
‘comma’ with or without the use of parentheses for grouping the data
sequence. Tuples can contain any number of elements and of any datatype
(like strings, integers, lists, etc.). Note: Tuples can also be created with a
single element, but it is a bit tricky. Having one element in the parentheses is
not sufficient, there must be a trailing ‘comma’ to make it a tuple.

Example: This Python code demonstrates different methods of creating and


working with tuples. It starts with an empty tuple and prints it. It creates a
tuple containing string elements and prints it. It converts a list into a tuple
and prints the result. It creates a tuple from a string using the tuple()
function. It forms a tuple with nested tuples and displays the result.

Python

Tuple1 = ()
print("Initial empty Tuple: ")
print(Tuple1)
Tuple1 = ('Geeks', 'For')
print("\nTuple with the use of String: ")
print(Tuple1)
list1 = [1, 2, 4, 5, 6]
print("\nTuple using List: ")
print(tuple(list1))
Tuple1 = tuple('Geeks')
print("\nTuple with the use of function: ")
print(Tuple1)
We useTuple1 = ensure
cookies to (0, 1,you2, 3)the best browsing experience on our website. By using
have
Tuple2
our site, = ('python',
you acknowledge that you'geek')
have read and understood our Cookie Policy & Privacy
Tuple3 = (Tuple1, Tuple2) Policy
print("\nTuple with nested tuples: ")
https://www.geeksforgeeks.org/python-data-types/ 8/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

print(Tuple3)

Output:

Initial empty Tuple:


()
Tuple with the use of String:
('Geeks', 'For')
Tuple using List:
(1, 2, 4, 5, 6)
Tuple with the use of function:
('G', 'e', 'e', 'k', 's')
Tuple with nested tuples:
((0, 1, 2, 3), ('python', 'geek'))

Note – The creation of a Python tuple without the use of parentheses is


known as Tuple Packing.

Access Tuple Items


In order to access the tuple items refer to the index number. Use the index
operator [ ] to access an item in a tuple. The index must be an integer.
Nested tuples are accessed using nested indexing.

The code creates a tuple named ‘tuple1′ with five elements: 1, 2, 3, 4, and
5. Then it prints the first, last, and third last elements of the tuple using
indexing.

Python

tuple1 = tuple([1, 2, 3, 4, 5])


print("First element of tuple")
print(tuple1[0])
print("\nLast element of tuple")
print(tuple1[-1])

print("\nThird last element of tuple")


print(tuple1[-3])

We use cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/python-data-types/ 9/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Output:

First element of tuple


1
Last element of tuple
5
Third last element of tuple
3

Note – To know more about tuples, refer to Python Tuples.

Boolean Data Type in Python


Data type with one of the two built-in values, True or False. Boolean objects
that are equal to True are truthy (true), and those equal to False are falsy
(false). However non-Boolean objects can be evaluated in a Boolean context
as well and determined to be true or false. It is denoted by the class bool.

Note – True and False with capital ‘T’ and ‘F’ are valid booleans otherwise
python will throw an error.

Example: The first two lines will print the type of the boolean values True
and False, which is <class ‘bool’>. The third line will cause an error,
because true is not a valid keyword in Python. Python is case-sensitive,
which means it distinguishes between uppercase and lowercase letters. You
need to capitalize the first letter of true to make it a boolean value.

Python

print(type(True))
print(type(False))

print(type(true))

Output:

<class 'bool'>

We use <class
cookies to 'bool'>
ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/python-data-types/ 10/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Traceback (most recent call last):


File "/home/7e8862763fb66153d70824099d4f5fb7.py", line 8, in
print(type(true))
NameError: name 'true' is not defined

Set Data Type in Python


In Python, a Set is an unordered collection of data types that is iterable,
mutable, and has no duplicate elements. The order of elements in a set is
undefined though it may consist of various elements.

Create a Set in Python

Sets can be created by using the built-in set() function with an iterable
object or a sequence by placing the sequence inside curly braces, separated
by a ‘comma’. The type of elements in a set need not be the same, various
mixed-up data type values can also be passed to the set.

Example: The code is an example of how to create sets using different types
of values, such as strings, lists, and mixed values

Python

set1 = set()
print("Initial blank Set: ")
print(set1)
set1 = set("GeeksForGeeks")
print("\nSet with the use of String: ")
print(set1)
set1 = set(["Geeks", "For", "Geeks"])
print("\nSet with the use of List: ")
print(set1)
set1 = set([1, 2, 'Geeks', 4, 'For', 6, 'Geeks'])
print("\nSet with the use of Mixed Values")
print(set1)

Output:

We use cookies to ensure you have the best browsing experience on our website. By using
our site,Initial blankthat
you acknowledge Set:
you have read and understood our Cookie Policy & Privacy
set() Policy

https://www.geeksforgeeks.org/python-data-types/ 11/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Set with the use of String:


{'F', 'o', 'G', 's', 'r', 'k', 'e'}
Set with the use of List:
{'Geeks', 'For'}
Set with the use of Mixed Values
{1, 2, 4, 6, 'Geeks', 'For'}

Access Set Items

Set items cannot be accessed by referring to an index, since sets are


unordered the items have no index. But you can loop through the set items
using a for loop, or ask if a specified value is present in a set, by using the in
the keyword.

Example: This Python code creates a set named set1 with the
values “Geeks”, “For” and “Geeks”. The code then prints the initial set, the
elements of the set in a loop, and checks if the value “Geeks” is in the set
using the ‘in’ operator

Python

set1 = set(["Geeks", "For", "Geeks"])


print("\nInitial set")
print(set1)
print("\nElements of set: ")
for i in set1:
print(i, end=" ")
print("Geeks" in set1)

Output:

Initial set:
{'Geeks', 'For'}
Elements of set:
Geeks For
True

We use cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Note – To know more about Policysets, refer to Python Sets.

https://www.geeksforgeeks.org/python-data-types/ 12/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Dictionary Data Type in Python


A dictionary in Python is an unordered collection of data values, used to
store data values like a map, unlike other Data Types that hold only a single
value as an element, a Dictionary holds a key: value pair. Key-value is
provided in the dictionary to make it more optimized. Each key-value pair in a
Dictionary is separated by a colon : , whereas each key is separated by a
‘comma’.

Create a Dictionary in Python

In Python, a Dictionary can be created by placing a sequence of elements


within curly {} braces, separated by ‘comma’. Values in a dictionary can be of
any datatype and can be duplicated, whereas keys can’t be repeated and
must be immutable. The dictionary can also be created by the built-in
function dict(). An empty dictionary can be created by just placing it in curly
braces{}. Note – Dictionary keys are case sensitive, the same name but
different cases of Key will be treated distinctly.

Example: This code creates and prints a variety of dictionaries. The first
dictionary is empty. The second dictionary has integer keys and string
values. The third dictionary has mixed keys, with one string key and one
integer key. The fourth dictionary is created using the dict() function, and the
fifth dictionary is created using the [(key, value)] syntax

Python

Dict = {}
print("Empty Dictionary: ")
print(Dict)
Dict = {1: 'Geeks', 2: 'For', 3: 'Geeks'}
print("\nDictionary with the use of Integer Keys: ")
print(Dict)
Dict = {'Name': 'Geeks', 1: [1, 2, 3, 4]}
print("\nDictionary with the use of Mixed Keys: ")
print(Dict)
Dict = dict({1: 'Geeks', 2: 'For', 3: 'Geeks'})
print("\nDictionary with the use of dict(): ")
print(Dict)
Dict = dict([(1, 'Geeks'), (2, 'For')])
We useprint("\nDictionary
cookies to ensure you havewith
the best browsing
each itemexperience on our")website. By using
as a pair:
our site, you acknowledge
print(Dict) that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/python-data-types/ 13/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Output:

Empty Dictionary:
{}
Dictionary with the use of Integer Keys:
{1: 'Geeks', 2: 'For', 3: 'Geeks'}
Dictionary with the use of Mixed Keys:
{1: [1, 2, 3, 4], 'Name': 'Geeks'}
Dictionary with the use of dict():
{1: 'Geeks', 2: 'For', 3: 'Geeks'}
Dictionary with each item as a pair:
{1: 'Geeks', 2: 'For'}

Accessing Key-value in Dictionary

In order to access the items of a dictionary refer to its key name. Key can be
used inside square brackets. There is also a method called get() that will
also help in accessing the element from a dictionary.

Example: The code in Python is used to access elements in a dictionary.


Here’s what it does, It creates a dictionary Dict with keys and values as {1:
‘Geeks’, ‘name’: ‘For’, 3: ‘Geeks’}. It prints the value of the element with the
key ‘name’, which is ‘For’. It prints the value of the element with the key 3,
which is ‘Geeks’.

Python

Dict = {1: 'Geeks', 'name': 'For', 3: 'Geeks'}


print("Accessing a element using key:")
print(Dict['name'])
print("Accessing a element using get:")
print(Dict.get(3))

Output:
We use cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/python-data-types/ 14/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Accessing a element using key:


For
Accessing a element using get:
Geeks

Python Data Type Exercise Questions


Below are two exercise questions on Python Data Types. We have covered
list operation and tuple operation in these exercise questions. For more
exercises on Python data types visit the page mentioned below.

Q1. Code to implement basic list operations

Python

fruits = ["apple", "banana", "orange"]


print(fruits)
fruits.append("grape")
print(fruits)
fruits.remove("orange")
print(fruits)

Output

['apple', 'banana', 'orange']


['apple', 'banana', 'orange', 'grape']
['apple', 'banana', 'grape']

Q2. Code to implement basic tuple operation

Python

coordinates = (3, 5)
print(coordinates)
print("X-coordinate:", coordinates[0])
print("Y-coordinate:", coordinates[1])

We use cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Output Policy

https://www.geeksforgeeks.org/python-data-types/ 15/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

(3, 5)
X-coordinate: 3
Y-coordinate: 5

Explore more Exercises: Python Data Type Exercise

Don't miss your chance to ride the wave of the data revolution! Every
industry is scaling new heights by tapping into the power of data. Sharpen
your skills and become a part of the hottest trend in the 21st century.

Dive into the future of technology - explore the Complete Machine Learning
and Data Science Program by GeeksforGeeks and stay ahead of the curve.

Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90


days, and save 90% cost click here to explore.

Last Updated : 04 Jan, 2024 172

Previous Next

Python Membership and Identity Python | Set 3 (Strings, Lists, Tuples,


Operators Iterations)

Share your thoughts in the comments Add Your Comment

Similar Reads
Python | Get tuple element data types Python | Convert mixed data types
tuple list to string list

How To Convert Data Types in Python Python - Extract rows with Complex
3? data types

We use cookies to ensure


Python you have
program the best
to extract from experience onReturn
browsing
rows True ifByCast
our website. Between Data Types
using
our site, youMatrix that hasthat
acknowledge distinct data
you have and understood our Cookie Policy & Privacy to the Casting rule
types
read can Occur According
in Python
Policy

https://www.geeksforgeeks.org/python-data-types/ 16/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Kotlin Data Types Django model data types and fields list

Select Columns with Specific Data How to Convert to Best Data Types
Types in Pandas Dataframe Automatically in Pandas?

Complete Tutorials
Python Crash Course Python API Tutorial: Getting Started
with APIs

Advanced Python Tutorials Python Automation Tutorial

OpenAI Python API - Complete Guide

N nikhilagg…

Article Tags : Python-datatype , Python


Practice Tags : python

Additional Information

We use cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/python-data-types/ 17/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

A-143, 9th Floor, Sovereign Corporate


Tower, Sector-136, Noida, Uttar Pradesh -
201305

Company Explore
About Us Job-A-Thon Hiring Challenge
Legal Hack-A-Thon
Careers GfG Weekly Contest
In Media Offline Classes (Delhi/NCR)
Contact Us DSA in JAVA/C++
Advertise with us Master System Design
GFG Corporate Solution Master CP
Placement Training Program GeeksforGeeks Videos
Apply for Mentor Geeks Community

Languages DSA
Python Data Structures
Java Algorithms
C++ DSA for Beginners
PHP Basic DSA Problems
GoLang DSA Roadmap
SQL Top 100 DSA Interview Problems
R Language DSA Roadmap by Sandeep Jain
Android Tutorial All Cheat Sheets
Tutorials Archive

Data Science & ML HTML & CSS


Data Science With Python HTML
Data Science For Beginner CSS
Machine Learning Tutorial Web Templates
We use cookies to ensure you
ML have
Mathsthe best browsing experience on our website. By using
CSS Frameworks
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Data Visualisation Tutorial
Policy Bootstrap

https://www.geeksforgeeks.org/python-data-types/ 18/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Pandas Tutorial Tailwind CSS


NumPy Tutorial SASS
NLP Tutorial LESS
Deep Learning Tutorial Web Design

Python Computer Science


Python Programming Examples GATE CS Notes
Django Tutorial Operating Systems
Python Projects Computer Network
Python Tkinter Database Management System
Web Scraping Software Engineering
OpenCV Python Tutorial Digital Logic Design
Python Interview Question Engineering Maths

DevOps Competitive Programming


Git Top DS or Algo for CP
AWS Top 50 Tree
Docker Top 50 Graph
Kubernetes Top 50 Array
Azure Top 50 String
GCP Top 50 DP
DevOps Roadmap Top 15 Websites for CP

System Design JavaScript


High Level Design JavaScript Examples
Low Level Design TypeScript
UML Diagrams ReactJS
Interview Guide NextJS
Design Patterns AngularJS
OOAD NodeJS
System Design Bootcamp Lodash
Interview Questions Web Browser

NCERT Solutions School Subjects


Class 12 Mathematics
Class
We use cookies to ensure you have11the best browsing experience on our website. By using Physics
our site, you acknowledge that
Classyou
10have read and understood our Cookie Policy & PrivacyChemistry
Policy

https://www.geeksforgeeks.org/python-data-types/ 19/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

Class 9 Biology
Class 8 Social Science
Complete Study Material English Grammar

Commerce Management & Finance


Accountancy Management
Business Studies HR Managament
Indian Economics Income Tax
Macroeconomics Finance
Microeconimics Economics
Statistics for Economics

UPSC Study Material SSC/ BANKING


Polity Notes SSC CGL Syllabus
Geography Notes SBI PO Syllabus
History Notes SBI Clerk Syllabus
Science and Technology Notes IBPS PO Syllabus
Economy Notes IBPS Clerk Syllabus
Ethics Notes SSC CGL Practice Papers
Previous Year Papers

Colleges Companies
Indian Colleges Admission & Campus Experiences META Owned Companies
List of Central Universities - In India Alphabhet Owned Companies
Colleges in Delhi University TATA Group Owned Companies
IIT Colleges Reliance Owned Companies
NIT Colleges
IIIT Colleges

Preparation Corner Exams


Company Wise Preparation JEE Mains
Preparation for SDE JEE Advanced
Experienced Interviews GATE CS
Internship Interviews NEET
Competitive Programming UGC NET
Aptitude
We use cookies to ensure you Preparation
have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Puzzles
Policy

https://www.geeksforgeeks.org/python-data-types/ 20/21
1/30/24, 4:30 PM Python Data Types - GeeksforGeeks

More Tutorials Write & Earn


Software Development Write an Article
Software Testing Improve an Article
Product Management Pick Topics to Write
SAP Share your Experiences
SEO - Search Engine Optimization Internships
Linux
Excel

@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved

We use cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/python-data-types/ 21/21

You might also like