Home C C MCQ PYTHON MCQ PYTHON PHP PHP MCQ



Who can learn Python ?


Anyone who knows English can learn programming language.

Python is a popular programming language, it is used for several purpose like web development, software development, system scripting etc.


How to learn Python Programming



Programming(C, C++, Python) English
Alphabets
Letters:- A to Z or a to z
Digits:- 0 to 9
Symbols:- +, -, *
Alphabets
Letters:- A to Z or a to z
Token:
Keywords: int, char, float
Identifier:- Marks, average
Constants: 99, 99.5, 'G'
Operators: +, -, *, /....
Special symbols: {}, ), ~ etc.
Word:
Combination of letters like(Program)
Statements:
print("Enter a no")
Area=length*breadth
Area=pi*r*r
Sentences:
Python is a programming language.
Program:
a=3
b=4
sum=a+b
print(sum)
Paragraph:
Python is a programming Language.
I want to learn Python programming language.

Step 1:- Before learning any languages such as( English), we learnt the alphabets of any Language. Here we should learn alphabets of Python language.
Step 2:- After that, we learn how one or more alphabets can grouped together to form meaningful words. In Python these words are called tokens.
Step 3:- In this step, we learn how one or more words can be grouped together to form meaningful sentence. In Python language the sentences are called statements.
Step 4:- Finally, we learn how one or more sentences can be grouped together to achieve a specific task. In Python language, group of statements performing some special task is called a program.


What is program ?


Program is a set of instruction to perform some particular work to the Computer. It is a set of logic to perform some event in a Machine. Program is a collection of different activities.
Python programming language is combination of
  • Pre-define function
  • Token, Keywords
  • Data types
  • Variables and constants
  • User define functions
  • User code

Note:- We communicate with people using language like hindi , english etc, computer also has a language that is called machine language. we directly can not communicate with computer with the help of compiler it is possible. compiler convert program code into machine language.