Getting started with PYTHON:

1) Many new personal computers and MacBooks have it pre-installed and one will be able to check that easily by running some command lines. If it is not pre-installed, then one can download it for free from the following website: https://www.python.org/

2) As Python is an interpreted programming language, as a developer you write codes on any text editior and then put the codes on the Python Executor to run the program.

3) Python files are always saved in .py format

4) A simple print command in Python can be given as---->


print("Hey there! I am using Python and it is awesome")
The output one can expect after the above command will be like---->
Hey there! I am using Python and it is awesome

Syntax Matters in PYTHON:

1) While in languages like Java, indentations are more for readability; in Python these indentations if not done correctly, produce errors while writing the code.

For Example:

a) if 12<10

print("False") *PROPER SYNTAX*

b) if 12<10

print("False") *IMPROPER SYNTAX AND WILL SHOW ERROR IN SYNTAX*

2) Comments are used to help another user understand and comprehend the code who has not written the codes by himself. Comments will help him know the reason behind the presence of a particular code. Comments are given with the help of a hashtag before(#) or by writing the comment in triple inverted commas(""" """)



Python training in gurgaon | Python training insitute in gurgaon | Python training insitute in sector 14 | Python classes in gurgaon | Free Python classes in gurgaon