Lesson One
Welcome to the lesson one of Python Guide. Thanks for taking time to upskill yourself, it is an honor for me that you came here to learn something from me. I love breaking down complex topics in simple understandable language. So let's get started, have fun and enjoy this new path of growth.
Basics
What is Python?
Python is a high-level, general-purpose programming language know for its simplicity, readability, and versatility. It was created by Guido van Rossum and first released in 1991.
What is Language?
A language is a system of communication that involves a structured arrangement of sounds, symbols, or gestures to convey meaning. It can be spoken, written, or signed, and is used by humans for a wide range of purpose, including expressing thoughts, emotions, ideas and information.
What is Programming?
Programming is the process of creating a set of instructions that tell a computer how to perform a task. It involves giving a series of commands to a computer, which can be written in various programming languages like JavaScript, Python, and C++. These instructions can range from controlling Mars rovers to processing medical data to producing special effects in movies. It is a collaborative process between humans and computers, where programmers communicate with computers through code to achieve specific outcomes.
What is a code?
In programming, a 'Code' refers to a set of instruction or commands written in a programming language that a computer can understand and execute. These instructions serves as the blueprint that directs a computer to perform specific tasks or operations, ranging from simple calculations to complex data manipulations and interactions with hardware.
This is an example of a one line code in Python, which directs the computer to print "Hello, world".
(' # Print Hello, world.' is a comment. )
Python code written in VS Code |
Types of Languages:
- Low-level Language
A programming language that is close to the hardware, means a language that provides little or no abstraction from a computer's instruction set architecture. It is very close to writing actual machine instructions and deals directly with a computer's hardware components and constraints.
Examples of low-level languages are Machine code and Assembly language etc.
Reference: Perplexity.ai |
- High-Level Language
Python code written in Visual Studio Code |