1 || Introduction of Python, Scope || Basic python course

Hello, we are starting new Course of Python, Specially for those who don't have any knowledge, will start from scratch, All the concept will be discussed and also the notes are provided. You can visit our YouTube @thecobox to saw all videos and other technical videos.

1 || Introduction of Python, Scope || Basic python course

Python is a general-purpose high-level programming language. Python is used in artificial intelligence and robotics because it is a general-purpose high-level programming language. 

Who developed python? 

Guido van Rossum developed python in 1989 while working at a national research institute in the Netherlands. but officially python was made available for the public on 20th Feb 1991. 

Python is highly recommended as the first programming language. If you want to learn any programming language then the best choice is python. 

Why is python a highly recommended language because you are coming from java? The biggest advantage of python is we can write the program easily with less code. suppose in other languages we use 20 to 30 lines of code but in python 2 to 3 lines of code is used concisely and very less code makes for a suitable application size. all those looking here to discuss we are going to land a wonderful programming language. 

We are going to land any programming first program is the hello world program. 

If I want to print the hello world program in java is like this 


public class helloworld
{
    Public static void main(string[ ] args)
    {
        system .out .println(“helloworld”);
    }
}

This is the code we are required to write in java just to print hello world. 

Very difficult to learn java 

If we want to write a program in C language 


#include
Void main()
{
    print(“hello world”);
}

But in python, we can write hello world programs. How many lines of code do we write? only one print(“Hello world”) 

So learning C, learning Java, and python is very easy? Python, python is very easy.

If I want to print the sum of two numbers? how you can able to write in java is 


public class SumOfTwo
{
    Public static void main(string[ ]args)
    {
        int a , b :
        a = 10;
        b = 20;
        system .out.print(a+b);
    }
}

In python how many lines of code are we required in python. 

A,b = 10 ,20 

print(a+b) 

30 

This type of code is possible in Java but is it possible in C? This is the beauty of python. It is possible in python. this type of code is only in python. We can write the big big big complex code we know, and write the small code . Any explanation is required ?? 

As we know in c and java languages we declare the variable type that's a language called statically typed language. but in python, no variable is assigned because python is a dynamically typed language. python calls any datatype internally. Do not assign any variable initially a = 10 

type(a) 

Output :  

Why Python? 

  1. Functional programming language from C 
  2. OOP from C++ 
  3. Scripting languages features from Perl and shell script 
  4. Modular programming features from Modula - 3 

Where can we use python? 

  1. Desktop app 
  2. web application >> Django 
  3. Database application 
  4. For networking applications
  5. Games 
  6. Data analysis 
  7. Machine learning 
  8. Ai 
  9. For IoT applications 

Which companies use python?

  • Google 
  • Youtube’ 
  • Dropbox 
  • NASA

What's Your Reaction?

like
1
dislike
0
love
1
funny
0
angry
0
sad
0
wow
0