Python Constants

In this article, you will learn about python constants. A constant is an identifier whose value cannot change throughout the program execution. On the other hand, the variable concept is the same as you studied in mathematics. Variable values keep changing while constant’s values are fixed. In python, you cannot use constants as used in … Read more

Python identifiers an Introduction

python identifiers

In this article, you learn about Python identifiers. In Python, identifiers are the names given to identify variables, functions, classes, modules, etc. Identifiers are like the names that your parents gave you for your identification. Similarly, in Python programming, a programmer can write identifiers to identify different objects. Example 1: Python identifiers In the above … Read more

Python Keywords An Introduction

keywords in python

In this article, you will learn about Python keywords. These are the pre-defined reserve words in Python. Each keyword has its own specific identity and assigned task.   In Python, these keywords cannot be used as variable names, function names, and other identifiers. If we use them as variables the Python interpreter treats them as keywords. … Read more

Python variables and data types

python variables and data types

In this article, you will learn about Python variables and data types. A Python variable is a container to store a value of any type. Where Container refers to a single memory location on the system.  An assignment operator is used to assign a value to the variable. Variables in Python are created directly when … Read more

Basic Syntax of Python

python basic syntax

In this article, you will learn about Python’s basic Syntax.  It is very simple just like the common English language. There is no need to end a Python statement by using the semicolon “;”. We can use the command line to run Python code. Python Print Statement Usually, when we start learning any new programming … Read more

How to install Python on Windows

how to install python on windows

In this article, you will learn about Python installation on the Windows operating system. You can also learn about how to run a sample “Hello World” program on the command line. Download Python Python is extensively available for many platforms. You can download and check its platform availability from this link. You can download it … Read more

Python Get Started brief introduction

python getstarted

Python is the best choice for beginners to start learning any programming language. This programming tutorial series is specially designed for beginners and intermediates to learn Python programming language with ease and comfort. Python Introduction Python is very popular and among the top 10 programming languages. It was first created by Guido van Rossum. Its … Read more

C++ File Handling

File handling in cpp

C++ File handling is used to store, input, and output data permanently on secondary memory.Normally, program data are stored in variables. When the program execution ends all the stored data and computational results are destroyed because data in variables are temporary.The user has to input data each time when the program executes which refers to … Read more

C++ Strings

C++ Strings are categorized in two ways. Character String String Class Character String Character string in c++ is an array of characters enclosed within a double quote. It mainly consists of any alphabets, characters, digits, or special symbols. The last character of the string will be the null character “\0” to terminate the string. The … Read more