Python Basics (Introduction)


What is Programming?

  • Just like we use Urdu or English and other languages to communicate with each other, we use a Programming language to communicate with the computer.
  • Programming is a way to instruct the computer to perform various tasks.

What is Python:

  • Python is a simple and easy-to-understand language that feels like reading simple English. 
  • It works on Pseudo code nature which makes it easy to learn and understandable for beginners.

Features:

  • Easy to understand = Less development time
  • Free and open source
  • High-level language
  • Portable – works on Windows/Linux/Mac

Syntax:

The syntax of the Python programming language is the set of rules which defines how a Python program will be written. Python is a friendly language. It has a simple and easy-to-learn syntax. Moreover, its features are easy to use, which allows you to write short and readable code. While, C++ is a bit complex when it comes to the simplicity of language, and it has more syntax rules.


What is Python used for

  • Python is used in Data Visualization to create plots and graphical representations.
  • Python helps in Data Analytics to analyze and understand raw data for insights and trends.
  • It is used in AI and Machine Learning to simulate human behavior and to learn from past data without hard coding.
  • It is used to create web applications.
  • It can be used to handle databases.
  • It is used in business and accounting to perform complex mathematical operations along with quantitative and qualitative analysis.

Logic Building:

Logic building based on:
  • Concepts (They are building blocks for programming language).
  • Psuedo code and algorithms.
  • Practice (Do as many programs as you can
  • Follow step by step approach

Installation:


Comments