01. Computer programming and Python fundamentalsPython Easy and intuitive programming language Free and open source Can be widely used for a variety of tasks → To create a Python file, need to use .py extension. → To run a Python script use python3 <file_name.py> Print function - print() >>> ...Apr 28, 2025·10 min read
06. DictionariesTuples A list is a mutable data type. Mutable data can be updated anytime. Tuple is a immutable data. It can not be modified. >>> tuple1 = (1, 2, 3) >>> print(tuple1) (1, 2, 3) >>> tuple2 = 1, 2, 3 >>> print(tuple2) (1, 2, 3) Read data from a tu...Apr 28, 2025·3 min read
07. ExceptionsErrors and Exceptions When Python tries to execute code and something goes wrong, Python raises an exception. Different kind of errors Throw some selective exceptions Hierarchy of exceptions Python 3 has 63 built-in exceptions, which all form a tr...Apr 28, 2025·1 min read