Day: July 8, 2020

Python tutorials for Business Analyst – Python Global, Local and Nonlocal variables

(Python Tutorial – 019) Python Global, Local and Nonlocal variables In this tutorial, you’ll learn about Python Global variables, Local variables, Nonlocal variables and where to use them. Global Variables In Python, a variable declared outside of the function or in global scope is known as a global variable. This means that a global variable …

Python tutorials for Business Analyst – Python Lambda Function

(Python Tutorial – 018) Python Anonymous/Lambda Function In this article, you’ll learn about the anonymous function, also known as lambda functions. You’ll learn what they are, their syntax and how to use them (with examples). What are lambda functions in Python? In Python, an anonymous function is a function that is defined without a name. While normal …

Python tutorials for Business Analyst – Python Recursion

(Python Tutorial – 017) Python Recursion In this tutorial, you will learn to create a recursive function (a function that calls itself). What is recursion? Recursion is the process of defining something in terms of itself. A physical world example would be to place two parallel mirrors facing each other. Any object in between them …