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

10th Python

Uploaded by

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

10th Python

Uploaded by

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

Python

Python : An Introduction
Applications of Python
Python : Keywords & Identifiers
• Some terms in Python have predefined meanings that the computer
automatically assign to them. These phrases are referred to as
Keywords. To avoid any misunderstanding and unclear results,
keywords should be used in the default manner and cannot be
changed at any point of time.
• E.g.: int, string, boolean, for, def, import etc.
• Identifiers are the name given to a variable.
E.g.: a = 10 ; here ‘a’ is an identifier and ‘a = 10’ is a variable.
Python : Variables and Data Types

• Data types refer to the predefined words or keywords that gives the
type to a variable . For e.g.: int, string, boolean etc.
Python : Operators
• Arithmetic Operator : Addition (+), Subtraction (-), Multiplication (*),
Division (/), Integer Division (//), Remainder (%), Raise to power (**)
• Assignment Operator : assignment (=), add equal to (+=), subtract
equal to (-=), multiply equal to (*=), divide equal to (/=).
• Comparison Operator: Greater than (>), Less than (<),equal to (= =),
Not equal to (!=)
• Logical Operator : And operator (And), Or operator (Or), Not operator
(Not).

You might also like