2. CONTENT OF THIS COURSE
Here’s what you’ll find in this Course :
Introduction to python general-purpose programming language.
What Python Used for.
Companies uses Python.
Setting Up the Environment.
Start Python Programming
3. What Python is?
Python is a popular general-purpose programming language.
It was created by Guido van Rossum in 1980, and released in 1991.
It is used for:
Web development (server-side).
Artificial Intelligence .
Software Development.
9. What make it so powerful for that is because it
has a many framework!
A framework is a set structure in which tasks are performed or
completed. Typically, a framework refers to an often layered structure
that indicates what kind of programs can or should be built and how they
would connect to each other.
14. WHAT DOES A COMPUTER DO?
performs calculations a billion calculations per second! two
operations in same time light travels 1 foot.
Remembers results
100s of gigabytes of storage!
typical machine could hold 1.5M books of standard size
17. Variables
You can think of variable as a little box or a container to store data in the
memory of the computer and later retrieve the data using the variable “name”
Programmers get to choose the names of the variables
You can change the contents of a variable in a later statement
21. 04:Comments in Python
Comments in Python begin with a hash mark ( # ) and whitespace
character and continue to the end of the line. Because comments do not
execute, when you run a program you will not see any indication of
the comment there. Comments are in the source code for humans to read,
not for computers to execute.
22. 05:Conditions
Python uses boolean logic to evaluate conditions. The boolean values True
and False are returned when an expression is compared or evaluated.
26. 07:Data Structures
Every child knows that one can – at least beyond a certain number
– find things much easier if one keeps order. We humans
understand by keeping things in order that we separate the things
that we possess into categories and assign fixed locations to these
categories that we can remember.
We may simply throw socks into a drawer, but for other things like
DVDs it is best to sort them beyond a certain number so that we
can quickly find every DVD.
29. 07:Data Structures
There are four collection data types in the Python
programming language:
List is a collection which is ordered and changeable. Allows
duplicate members.
Tuple is a collection which is ordered and unchangeable. Allows
duplicate members.
Set is a collection which is unordered and unindexed. No
duplicate members.
Dictionary is a collection which is ordered* and changeable. No
duplicate members.
30. Introduction to AI with ML
07:Data Structures-List
Lists are used to store multiple items in a single variable.
Lists are one of 4 built-in data types in Python used to store
collections of data, the other 3 are Tuple, Set, and Dictionary,
all with different qualities and usage.
The list is changeable, meaning that we can change, add, and
remove items in a list after it has been created.
Lists are created using square brackets:
32. 08:Functions
A function is a block of code which only runs when it is called.
You can pass data, known as parameters, into a function.
A function can return data as a result.