Day: July 4, 2020

Python tutorials for Business Analyst – Python pass statement

(Python Tutorial – 014) Python pass statement In this article, you’ll learn about pass statement. It is used as a placeholder for future implementation of functions, loops, etc.   What is pass statement in Python? In Python programming, the pass statement is a null statement. The difference between a comment and a pass statement in Python is that while the interpreter …

Python tutorials for Business Analyst – Python break and continue

(Python Tutorial – 013) Python break and continue In this article, you will learn to use break and continue statements to alter the flow of a loop.   What is the use of break and continue in Python? In Python, break and continue statements can alter the flow of a normal loop. Loops iterate over a block of code …

Python tutorials for Business Analyst – Python while Loop

(Python Tutorial – 012) Python while Loop Loops are used in programming to repeat a specific block of code. In this article, you will learn to create a while loop in Python. What is while loop in Python? The while loop in Python is used to iterate over a block of code as long as …

Python tutorials for Business Analyst – Python for Loop

(Tutorial – 011) Python for Loop In this article, you’ll learn to iterate over a sequence of elements using the different variations of “for” loop. What is for loop in Python? The for loop in Python is used to iterate over a sequence (list, tuple, string) or other iterable objects. Iterating over a sequence is called traversal. …

Python tutorials for Business Analyst – Python if…else Statement

(Tutorial – 010) Python if…else Statement In this article, you will learn to create decisions in a Python program using different forms of if..else statement.   What is if…else statement in Python? Decision making is required when we want to execute a code only if a certain condition is satisfied. The if…elif…else statement is used in Python …

Python tutorials for Business Analyst – Python Namespace and Scope

(Python Tutorial – 009) Python Namespace and Scope In this tutorial, you will learn about namespace, mapping from names to objects, and scope of a variable.   What is Name in Python? If you have ever read ‘The Zen of Python’ (type import this in the Python interpreter), the last line states, Namespaces are one honking great idea …

Python tutorials for Business Analyst – Python Operators

(Python Tutorial – 008) Python Operators In this tutorial, you’ll learn everything about different types of operators in Python, their syntax and how to use them with examples. What are operators in python? Operators are special symbols in Python that carry out arithmetic or logical computation. The value that the operator operates on is called …

Python tutorials for Business Analyst – Python Input, Output and Import

(Python Tutorial – 007) Python Input, Output and Import This tutorial focuses on two built-in functions print() and input() to perform I/O task in Python. Also, you will learn to import modules and use them in your program. Python provides numerous built-in functions that are readily available to us at the Python prompt. Some of the functions …

Python tutorials for Business Analyst – Python Type Conversion and Type Casting

(Python Tutorial – 006) Python Type Conversion and Type Casting In this article, you will learn about the Type conversion and uses of type conversion. Type Conversion The process of converting the value of one data type (integer, string, float, etc.) to another data type is called type conversion. Python has two types of type …

Python tutorials for Business Analyst – Python Data Types

(Python Tutorial – 0o5) Python Data Types In this tutorial, you will learn about different data types you can use in Python. Data types in Python Every value in Python has a datatype. Since everything is an object in Python programming, data types are actually classes and variables are instance (object) of these classes. There …