DEV Community

Keerti Sadana S
Keerti Sadana S

Posted on

Python - Keywords and Datatypes

KEYWORDS:
Keywords are reserved words.
They can't be used as variables, functions, or any other identifiers.
*Getting the list of all Python keywords: *
All keyword names can be obtained using the code:

Output:

All keywords can be categorised:

DATA TYPES:
Data types mean the type of value stored in a variable and determine the operations that can be performed on that data.
It helps the interpreter to understand how to store and process different kinds of data efficiently.
Types of data type are:
int
float
complex --> 4 + 5i
bool
str
range
list
set
tuple
dict
frozenset
None

TEXT EDITOR:
A text editor is a computer program used to create, open, and change plain text files.
Examples: Notepad, Notepad++, Sublime Text, MS Word, LibreOffice Writer.

Top comments (1)

Collapse
 
karthick_07 profile image
Karthick (k)

very informative