#1 Numeric type:
integer int, float float (scientific notation e or E), Boolean bool
#2 String:
With integer, floating-point conversions: Int ()--Truncation processing float () str ()
#3 Get the data type:
Type ():
>>> Type (5.2)
<class ' float ' >
>>> type (True)
<class ' bool ' >
Isinstance ():
>>> isinstance (5.2,float)
True
>>> isinstance (True,bool)
True
>>> isinstance (TRUE,STR)
False
>>> isinstance (' True ', str)
True
#4 operator (operator):
1) + (+ =),-(-=), * (*=),/(/=)--Normal division ,%, * *-Power operation ,//--d Division
2) Priority level:
Power Operation: * *
sign (unary operator): + (plus sign),-(minus) Note: * * (The Power operator) is higher precedence than the unary operator on its left and has a lower precedence than the unary operator on its right
Arithmetic operators: *,/,//higher than +,-
Comparison operators:>, <, = =,! =
Logical operator:not above and above or
Python-5 data type, operator