James Gosling
Guido van Rossum
Dennis Ritchie
Bjarne Stroustrup
Compiled Language
Markup Language
Interpreted Language
Assembly Language
.py
.python
.pt
.pyt
int x = 10
x = 10
var x = 10
x: 10
<class 'float’>
<class 'int'>
<class 'string'>
<class 'number'>
<!-- This is Comment -->
// This is Comment
/* This is Comment */
# This is Comment
6
8
9
11
int
float
str
list
55
10
5
Type Error
3.33
3
4
Error
Displays a message to the user.
Receives input from the user as an integer.
Receives input from the user as a string.
Both A and C
Checks if two variables have the same value.
Checks if two variables refer to the same object in memory.
Assigns a value to a variable.
None of the above
123var
_var
if
var-name
2
1
int("123")
integer("123")
int["123“]
(int) “123”
True
False
0
^
**
^^
exp()
Performs integer division and returns the integer part.
Performs normal division and returns a float.
Performs modulus operation.
Performs exponential calculation.
Keywords
Identifiers
Operators
Statements
and
or
not
All of the these