Types Of Errors in python | Python sinhala Tutorial Episode 27 | SL Android
Types Of Errors in python | Python sinhala Tutorial Episode 27 | SL Android
අපි මේ වීඩියෝ එකේදි කත කරන්නේ පයිතන් programing කරනකොට අපිට ඇති වියහැකි Error වර්ග සහ ඒව අවම කර ගන්නා ආකාරයයි..
Termux Tool develop කරනකොට මෙමෙ error ගැන දැනගෙන සිටීම අත්යාවශ්ය කරුනක්..
⚙️ Common Exceptions
Python provides the number of built-in exceptions, but here we are describing the common standard exceptions. A list of common exceptions that can be thrown from a standard Python program is given below.
ZeroDivisionError: Occurs when a number is divided by zero.
NameError: It occurs when a name is not found. It may be local or global.
IndentationError: If incorrect indentation is given.
IOError: It occurs when Input Output operation fails.
EOFError: It occurs when the end of the file is reached, and yet operations are being performed
-~-~~-~~~-~~-~-
Please watch: "How to code a simple calculator ( Project 01) |C Programming සිංහල Tutorial Episode 25 |SL Android"
https://www.youtube.com/watch?v=A6nvSvDcsUA
-~-~~-~~~-~~-~-