Python

A collection of 6 Articles

Basic Program - Python Programming Language

Program 1: print("For print a massage") print("Hello Python!") Output: For print a massage Hello Python! Program 2: print("For addition of two number") a = 10 b = 20 sum = a+b print("Sum of two number is ",+sum) Output: For addition of two number Sum of two number is

Decision Making & Loops - Python Programming Language

Decision Making Decision making is anticipation of conditions occurring while execution of the program and specifying actions taken according to the conditions. Decision structures evaluate multiple expressions which produce TRUE or FALSE as outcome. You need to determine which action to take and which statements to execute if outcome is

Operators - Python Programming Language

Operators are the constructs which can manipulate the value of operands. Consider the expression 4 + 5 = 9. Here, 4 and 5 are called operands and + is called operator. Types of Operator: Python language supports the following types of operators. Arithmetic Operators Comparison (Relational) Operators Assignment Operators Logical Operators Bitwise Operators

User Input - Python Programming Language

There are hardly any programs without any input. Input can come in various ways, for example from a database, another computer, mouse clicks and movements or from the internet. Yet, in most cases the input stems from the keyboard. For this purpose, Python provides the function input(). input has an

The Introduction to Python Programming Language

Python is an example of a high level language.Other high level languages you might have heard of are C++,PHP,Pascal,C#,and Java. Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Install
Load more