Scope of variables in python

Scopes in python

Understand the Built-In scope, the global/ module scope and local scope. How these scopes have a nested relationship. How python looks in different scopes to get the assigned variable. Use global to force python to look the local variable in the global scope.

Python Functions

Python functions

How to write python functions. We are going to learn about internal components of a python function. What is the difference between a function and a method. Look at tools available to understand different parts of functions in python

Python Docstrings and Annotations

Python Doc Strings and Annotations

Understand what is Docstrings how are they different from annotations. Where are the Docstrings and annotations stored in the python object, and how do the third-party tools fetch them. Be a better dev by using these concepts.

Loops in Python

Python Loops

Loops in python are very easy to write and implement. Learn how to implement While, For and Do While loops in python. How to use Else statements in the loops and conditions when the else statements are executed.

Python Basics

Variables in python We can initialise variables in python using = operators. example: a = 20 _t = “apples” var34 = 67 what we cannot do is initialise a variable starting with number and any other symbols you see in your numeric pad except for underscore( _ ). So following will give you these kind […]