IKH

Introduction

  • Python is a general purpose high level programming language.
  • Python was developed by Guido Van Rossam in 1989 while working at national research institute at netherlands
  • Officially python was made available to public in 1991. The official date of birth for python is : Feb 20th 1991.
  • The name python was selected from the tv show “The Complete Monty Python’s Circus“, which was broadcasted in BBC from 1969 to 1974.

Example 1: Print “Hello world”

In Java

Java
public class HelloWorld
{
    public static void main(String[] args)
    {
        System.out.print("Hello world");
    }
}

Output

PowerShell
Hello world

In C

C
#include <stdio.h>

void main()
{
  printf("Hello world");
}

Output

PowerShell
Hello world

In Python

Python
print("Hello World")

Output

PowerShell
Hello world

Example 2: Print the sum of 2 numbers

In Java

Java
public class Add
{
  public static void main(String[] args)
  {
    int a,b;
    a=10;
    b=20;
    System.out.print("The Sum: "+(a+b));
  }
}

Output

PowerShell
The Sum: 30

In C

C
#include <stdio.h>

void main()
{
    int a,b;
    a=10;
    b=20;
    printf("The Sum:%d ",(a+b));
}

Output

PowerShell
The Sum: 30

In Python

Python
a=10
b=20
print("The Sum: ",(a+b))

Output

PowerShell
The Sum: 30

Features of python

Python language developed by taking almost all programming features from different languages.

FeatureFrom
Functional ProgrammingC Language
Object Oriented ProgrammingC++ Language
Scripting ProgrammingPerl and Shell Language
Modular ProgrammingModula-3 Language
Python SyntaxC and ABC Language

Python use cases

We can use python everywhere. The most common application areas are;

  1. For developing desktop applications.
  2. For developing web applications.
  3. For developing database applications.
  4. For network programming.
  5. For developing games.
  6. For data analysis applications.
  7. For machine learning.
  8. For developing AI applications.
  9. For IOT.

Remark:

  • Top Software companies like Google, Microsoft, IBM, Yahoo using python.

Ungraded Questions

Get ready for an exhilarating evaluation of your understanding! Brace yourself as we dive into the upcoming assessment. Your active participation is key, so make sure to attend and demonstrate your knowledge. Let’s embark on this exciting learning journey together!


Name
Email
Phone

Report an error