python

Python Introduction

What is Python? Python is a high-level, interpreted, general purpose programming language created by Guido Van Rossum and was first released in 1991. Python is a dynamically typed language and it supports multiple programming paradigms including procedural, object-oriented, imperative and functional programming. Python has become the most popular programming language around …

Python Introduction Read More »

Python Installation

To install python you first need to download it. To download visit this link on the official website of python https://www.python.org/downloads/. Here you will find multiple options as per your operating system and processor(Whether it is 32 bit or 64 bit). To download python, click on any one of the …

Python Installation Read More »

Python basic Syntax

Python has many similarities to other programming languages  such as C, Java and Perl. However it has some differences as well. The Python basic syntax tells the rules must followed while writing code in Python. For example, In Python, we use indentation to create blocks like conditional statements or loops. …

Python basic Syntax Read More »

Python Comments

Comments plays an important role in programming. In programming, a comment is simply a text to describe the working of a single instruction or a set of instructions. Though the comment is written within a program, its not actually a part of it. This means the comment would not be executed along …

Python Comments Read More »

Python Variables

A variable is like a container which is used to store a value. At times there is a need to store some data for future usage. A variable in python needs not to be declared before usage, it is created the moment you assign it a value. For example- a = …

Python Variables Read More »

Python Numbers

A numeric value is a value in the form of a number. Basically there are three types of numbers in python – int float complex   A variable of numeric type is created as soon as you assign a numeric value to it. For eg x = 1 int ‘int’ stands …

Python Numbers Read More »

Python Strings

In programming, a string is a series or a sequence of characters. A character is a symbol or a letter or even a number enclosed in quotes. Some example of strings may be – sagar, roll12, %#@!&. How to create a string in python – In python, a string can …

Python Strings Read More »

Python Type Casting

At times, we need to specify the data type of a predefined variable, or we need to change the data type of a variable. This is known as type casting. In computer programming, type casting (or simple ‘casting’) or type conversion is changing the data type of any entity. Example of type …

Python Type Casting Read More »

Python Booleans

A boolean value in computer science is a datatype which can have one of the two values ‘true’ or ‘false’ which represents the truth values of logics. In python, the boolean values are written as ‘true’ and ‘false’ (considering the case sensitivity of t and f). When we evaluate any expression, …

Python Booleans Read More »