Beginners - Installation, Basic
Concepts, and Examples.
1. Introduction
I.Python is a popular programming language used in various fields
such as data science, machine learning, and web development.
II.This tutorial will guide beginners in downloading and installing Python on
their computer and teach them how to use Python in machine learning or
artificial intelligence.
III.All materials taught in this tutorial will apply to the latest version of
Python, Python 3.7.2, at the time of recording the video.
2. Installing Python
I.The first step in learning Python is to download and install it on your
computer.
II.When running PyCharm, we may receive a warning message
because it is an application downloaded from the internet.
III.Set the base interpreter to Python 3 to ensure compatibility with
the latest version of Python.
3. Basic Programming Concepts
I.This section introduces programming terms and concepts, such as
code execution and graphical user interface.
, II.A sample code is provided to demonstrate how Python code is
executed line by line and how to draw 10 asterisks on the terminal.
III.A recommendation is given to commit to practicing Python for at
least two hours every day to learn effectively.
4. Receiving Input and Variables
I.Python is a case-sensitive language and can be used to define
variables and receive user input.
II.Functions such as print messages and receive input can be used for
common tasks.
III.A cheat sheet is available for review and additional resources.
5. Manipulating Strings
I.Python strings can be manipulated using square brackets to access
characters and indexes.
II.Negative indexes and cloning strings using square brackets are
unique features of Python.
III.A sample program is given to convert weight from pounds to
kilograms and print the result.
6. Control Structures
I.If-else statements are used to execute different code blocks based on
certain conditions.
II.For loops are used to iterate over a sequence of values, such as a list
or string.
III.While loops are used to repeat code while a certain condition is
true.