Python For Beginner
Chapter 0: Introduction
What is python?
Python is one of the most popular languages for programming. Python is invented by Guido Van, released in 1991.
These are some use of python:
Software development
Mathematics
System scripting
Web development
Python can use in web application development
Python can use in artificial intelligent
Python can connect to the database for the application backend
Why do you use python?
Python is platform-independent
It has very simple syntax and structure
With python, the programmer develops application very easy rather then other.
Chapter 1: Python Overview
Python syntax
print(“Hello World”)
Set up the environment for developing amazing things:
The download python for your os
Install with this command:
Check the python version with this command:
Write your first code:
Note: You use whatever os for this task-it not mandatory to use Linux.
Here you need one IDE for write python code:
Guide: Download Visual Studio
Comment Python:
A comment is used to write instruction or anything that not going to execute.
Define In code with
#comment : For singal line Comment
''' comment ''' : For multiline Comment
Module:
The module it a specific task code. That we use as an importing in our program.
Module Types:
Built-In Module: This is a preBuilt module in python. They did not need to install. like os, etc.
External Module: This is written by someone to make the task easy for a specific task. They need to import and install. like tensorflow, etc.
Using python as a calculator:
You can use Python as calculator as you see into code
Termination
If you Like this tutorial please share with your friend and family. I make an amazing tutorial in this blog. If you have any queries and question ask me in the comment section below.
No comments
Post a Comment