Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: Python
Description: Basics of Python

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


Introduction to Programming & Python
In 100 days of code, we are going to learn Python
programming From zero to job ready
...
Guido van
Russom was watching a show named Monty Python 's Circus
On TV when he was working on this language
...
And since then its name is Python
...
According to me Python is the easiest
learned programming language
...
But this course is going to
be dedicated to Python
...

Python is a high level programming language
...
Python is Dynamically
typed
...
It also supports functional approach
...

Installing Python in local is also very easy
...
And if you are on mac It is
easy installation as you can see on computer screen
...
which
ever version it is There is option as path Definitely check it
...
Like the video and subscribe to
the channel So that you do n't miss any day
...
Bookmark it and save it
...
And our day 2 is
going to be dedicated On a very interesting and fun thing
...
And a lot of new approaches
which I want to tell you
...
I 'll teach
you Python so well just as a Snake Charmer hypnotizes
the snake You can hypnotize the Python while
programming You 'll be able to do whatever you want
...
It 's Face
Recognition Program which uses Haar Cascade
Algorithm
...
The next project is Flappy Bird
Game which uses random module in which it 'll tell the
love percentage between 2 people
...
I hope you wo n't face any problem while running
these codes
...


Modules and Pip
In today 's video we 'll talk about 'Modules' & 'What is 'pip ' ? ''
Basically modules are used to borrow someone else 's code in
your program with the help of modules We have 2 kind of
"Modules" 1
...
'pandas ' is a library of data analysis
...
'Pandas' is a package manager
...
1mbps
...
Follow me
everyday step-by-step to learn how to use 'replit' to install
'sklearn' A library for Machine Learning
...
We'll do everything
...
If you run this here so you 'll get the errors as I
showed you
...
External modules needs to be installed
just like something in your house that's expired
...
So always follow the
latest videos because they come with a bang
...
Python is so versatile
language that every Unicorn use it
...


Our First Python Program
100 Days Of Code: Python program is going to be in which we
'll write every line with understanding We 'll have full
understanding about our Python program And we'll write this
code from scratch In upcoming videos we ''ll write quite mindblowing Python programs from scratch
...
This is the first program we
wrote character-by-character
...
We
learned that when we write '' python3 '' in terminal And then if
...
I write `` print ( `` Hello World '' ) '' So I 've to write
manually line-by line
...
We want to
tell Python to do anything we want Execute this one first and
then this one and then another
...

In the upcoming videos we 're going to learn some more things
Just be with me in this course And I want you for whom this
course is not suitable If you guys can't stay consistent daily Or
you want to do things in a shortcut manner
...
Python interpreter tries to execute text in Python or
any other programming language
...
Python will say "OK!
If you need a new line
...
Character
...
Look , Replit is doing syntax highlighting
first , for you
...
The 100 Days
Of Code course is the 100 Days of Code course
...
If you 've written something like this I 'm
pasting it
...
In Replit all the shortcuts
of VScode works so there 's no need for you to be worried
...
I
've added Triple double-quote ( `` '' '' '''''' '' '' " " -- " " "") to
move a line in a string
...
An
Escape Sequence Character ' ( back-slash ) n ' is a new line
character
...
character '\ ' + 'n ' they may seem different character
But they are one This is called Escape Sequence
...

If I add a single quote in single-quoted string I 've to add
'single-quote' so single-quote will appear
...
After this there 's
another parameter `` end= '' in place of `` end-= '' So what does
it mean ? It means if I write next 'print ' statement And in that
statement suppose I write `` print ( `` Harry '' ) And if I run it
...
You can write anything here and it 'll be printed 'Bydefault ' is a new line' The default separator is 'Space' as I 've
written here Now what does `` end '' means ? It means 'specify
what to print at end' '' What to print when this print statement
will end '' And what should come between multiple values in a
single print statement ''

Variables and Data Types
In Python Programming Language 'Variables' are just like
containers just like you have in your kitchen In which you store
lentils , flour & rice etc In Python programming language
'variables' can be 'types ' of everything' Just like that there are
'Types ' in Python which we refer as 'Data Types' The data is
stored in the memory
...
If I write ' b = ' Harry '' so directly the
content of 'Harry ' will be printed
...
This is required in programming to perform
operations For eg
...
And there 's a dog , he
's also a dog
...

Python has some built-in 'Data Types ' in Python
...
1 so its
type will be 'Float' And if I tweak it like
...
8+2i
'' so it 'll become a 'Com Complex ' number
...

These are of 'String ' type
...
double quotes ( ``) ) in +1 or +2
...
It has become a 'Com Complex '
number
...

Immutable means they can not be changed
...
'Immutable' means changes can be
made
...
People
confuse a lot with mutable or immutable
...

Everything in Python is an 'Object' Yes ! Everything 'Dictionary '
is an object If you create a
...
The type of
a is < class 'complex ' It 's the 'Object ' of this class' I 'll explain
more about dictionary in the upcoming videos
...
In this video
of 100 Days Of Code you 'll get an exercise And you have to
solve that exercise
...

And we all will know
...
If I write (5 % 3) If I divide 5 by 3 so the remainder
will be 2
...
(15/6 ) =
2
...
5 ) disappear And
only 2 will be printed ( 15/6) = 2
...
I 'm not doing any type of magic
And whatever the trick I have upon my sleeve
...
If someone tells you that '' You're not eligible for this '' So they are
lying
...
I 'll look for the people who are giving the solutions
Now there 's no solution for last 4 secs Taha Pasha has send a solution
AshitoshZalte has given the solution
...
0 '' great
...
I'll
meet you at Day # 9 I'll add the Repl of Day # 7 in the description
...


Typecasting in Python
Today I 'll tell you about 'Type Casting' This may sound scary ' Type Casting'
But let me tell you , this is very simple Let 's suppose we created a 'String '
variable And that variable contains `` 27 `` So if we want to tell Python that
the characters written in double-quotes ( `` `` ) is a valid number So we can
type caste it to an 'Integer' by using 'Int ' function '' How can we do this ? ''
We 'll learn in details in this video The conversion of one data type into the
other data type is known as type casting or type conversion in python
...
Because this is what the concatenation of
strings takes place
...
There are two type of 'Type Casting' 'Explicit ' & 'Implicit ' ' Explicit
' means I 'm doing it with my will ' Implicit ' means Python is doing that
automatically
...
Explicit conversion
is done via developer or programmer 's intervention or manually as per the
requirement
...
Ordering of data types is not the same in
Python
...
Python converts a smaller data type to a higher data type
...
You can also give inputs like this to your Python programs
with you own keyboard
...
'String ' in 'Input ' function
assigns the 'Strings ' to the variable which the user inputs
...
the 'String' to the variables
...
But no! The
output is "12100 '' Now you 'll ask 'What's going on '' ?
...
working '' '' My computer is
...
Python literally add those 2
'Strings' and concatenates them
...

Arithmetic Operation is only possible when both the inputs are
integer
...
Now let me tell you
another case And I 'll tell you the solution for that in this 100
Days Of Code course
...



Title: Python
Description: Basics of Python