# shravanthi shravz

## For loop in python

Introduction “We do what we are and we are what we do” In this article, we will discuss for loops and the implementation of for loops with respect to integers and strings. For loop For loop is also called a finite loop. We use for loop whenever we know how many times the loop should …

## While loop in python

Introduction “Life is a loop, you get back what you give” Hello people, hope now you are clear with conditional branching. In this article, we will discuss in detail about loops in python. Loops In English, the loop is a shape that bends around and crosses itself. This is an image of a loop in …

## Decision-making using python

Introduction Decision-making is always considered the first step in learning AI/ML. Decision-making in computers is as important as decision-making by humans. By the end of this article, you will be thorough with decision-making with the help of python. Types of conditional branching If statement If else statement If elif else statement Nested conditions Shorthand if …

## Input Function and Basic Operators in Python

Introduction “Consistency is more important than perfection” In this article, we will be discussing how to interact with our users and how to do basic operations with a few basic operators. Input function The input function allows the user to input any value and we can save it with the help of a variable for …

## A deep dive behind the scenes of variables

Python is a highly object-oriented programing language, In fact, every item in python is considered an object of a specific class in python. Python variables are references or pointers to an object. For example, This assignment creates an integer object with the value 300 and assigns the variable n to point to that object. Now, …

## Variables in Python

Introduction “Stop wishing, start doing” Now, you must be commendable in the basic data types of python. Moving further, we will be briefing about variables in detail. Variables Variables are containers for storing data. In python we do not have a command to declare variables, they are created at the time a value is assigned …

## Basic Data Types in Python

Introduction “Be so busy improving yourself so that you have no time to criticize others” Now, you must have been familiar with comments and print statements in python, In this article, we will discuss in detail,4 basic data types in python. What is a data type? Every value in Python has its own data type. …