- Python keywords are special reversed Words
- Convey a special meaning to the compiler/ Interpreter.
- Each keyword has a special meaning and a specific operation.
- NEVER use it as a variable.
TrueFalseNoneandasassetdefclasscontinuebreakelsefinallyelifdefexceptglobalforiffromimportraisetryorreturnpassmonlocalinnotisnonlocal
(2) What are Literals in Python?
Literals are the constants used in Python.
Sl.NoValue1String Literals2Numeric Literals3Boolean Literals4Special Literals
(3) What are Numerical Literals:
WIntLongFloatComplex+ve and -veUnlimited IntegerReal numberIn the form ofNumbers(Integers With
No Fraction apart
Ex.100,234
Size followed by
upper or lowercase L.
Ex:2342435428With both integer and fractional part
Ex-2133a+bj,”a” forms the real part & b forms the imaginary part.
Ex-314
(4) What are Boolean Literals:
Read Full Article at : https://delightbooks.com/top-python-interview-questions/