Month: July 2020

Python tutorials for Business Analyst – Python Strings

(Python Tutorial – 026) Python Strings In this tutorial you will learn to create, format, modify and delete strings in Python. Also, you will be introduced to various string operations and functions.   What is String in Python? A string is a sequence of characters. A character is simply a symbol. For example, the English …

Python tutorials for Business Analyst – Python Tuple

(Python Tutorial – 025) Python Tuple In this article, you’ll learn everything about Python tuples. More specifically, what are tuples, how to create them, when to use them and various methods you should be familiar with.   A tuple in Python is similar to a list. The difference between the two is that we cannot change …

Python tutorials for Business Analyst – Python List

(Python Tutorial – 024) Python List In this article, we’ll learn everything about Python lists, how they are created, slicing of a list, adding or removing elements from them and so on.   Python offers a range of compound data types often referred to as sequences. List is one of the most frequently used and …

Python tutorials for Business Analyst – Python Numbers, Type Conversion and Mathematics

(Python Tutorial – 023) Python Numbers, Type Conversion and Mathematics In this article, you’ll learn about the different numbers used in Python, how to convert from one data type to the other, and the mathematical operations supported in Python. Number Data Type in Python Python supports integers, floating-point numbers and complex numbers. They are defined …

Python tutorials for Business Analyst – Python Package

(Python Tutorial – 022) Python Package In this article, you’ll learn to divide your code base into clean, efficient modules using Python packages. Also, you’ll learn to import and use your own or third party packages in your Python program. What are packages? We don’t usually store all of our files on our computer in …

Python tutorials for Business Analyst – Python Modules

(Python Tutorial – 021) Python Modules In this article, you will learn to create and import custom modules in Python. Also, you will find different techniques to import and use custom and built-in modules in Python. What are modules in Python? Modules refer to a file containing Python statements and definitions. A file containing Python …

Python tutorials for Business Analyst – Python Global Keyword

(Python Tutorial – 020) Python Global Keyword In this article, you’ll learn about the global keyword, global variable and when to use global keywords. Before reading this article, make sure you have got some basics of Python Global, Local and Nonlocal Variables. What is the global keyword In Python, global keyword allows you to modify the variable outside …

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 …