i 'm gon na tell you why you need to learn python it 's the
easiest programming language to learn as well as being the
most popular in the world right now. According to glassdoor the
salary for new python developers in the united states is 64 000
if any of this sounds good to you well then let 's get started. In
this video i 'm going to explain how variables work in python so
sit back relax and enjoy the show if you find this video helpful
please remember to like comment and subscribe your support
will help keep this channel running. At the end process finished
with exit code zero that just means that there were no errors in
this program. The first data type that we 'll cover is strings a
string is a series of characters so to create a string we can
either use single quotes or double quotes in python. To create
a variable make sure you do n't put it within quotes because
what we 're doing then is literally printing the word name.
We are going to move on to the int data type short for integer
this time let 's create a variable called age and we will assign
this a value of whatever your age is. With strings we can not
normally use these for math that 's where the next data type
comes in for the time being i just turned all of these lines into
comments. With strings we can not normally use them for any
sort of math you 'll want to use a data type of a numeric value
an int or a float which we 'll discuss a little bit later. In order to
display our edge variable along with a string we would need to
convert our edge to the string data type and one way in which
we can do that is by type casting. The data type that we 're
going to cover is a floating point number a float for short. The
last data type is a boolean data type it is a variable that can
only store true or false. Booleans are very useful when we get
to if statements we can check to see if some statement is true.
Multiple assignment allows us to assign multiple variables at
the same time using one line of code. If you would like a copy
of all this code i will copy and paste all of this to the comments
section down below but yeah that is how variables work in
python. There are four basic data types strings, floats and
booleans which only store true or false and they are very
useful with if statements. In this video i 'm going to
demonstrate some useful string methods in python. The video
shows how to find a character within a string and how to
capitalize a variable. In python multiple assignment allows us
to assign multiple variables at the same time using one line of
code. In this video i 'm going to teach you guys all about
typecasting in python in python. We can display a string
multiple times by multiplying that string by a given number.
easiest programming language to learn as well as being the
most popular in the world right now. According to glassdoor the
salary for new python developers in the united states is 64 000
if any of this sounds good to you well then let 's get started. In
this video i 'm going to explain how variables work in python so
sit back relax and enjoy the show if you find this video helpful
please remember to like comment and subscribe your support
will help keep this channel running. At the end process finished
with exit code zero that just means that there were no errors in
this program. The first data type that we 'll cover is strings a
string is a series of characters so to create a string we can
either use single quotes or double quotes in python. To create
a variable make sure you do n't put it within quotes because
what we 're doing then is literally printing the word name.
We are going to move on to the int data type short for integer
this time let 's create a variable called age and we will assign
this a value of whatever your age is. With strings we can not
normally use these for math that 's where the next data type
comes in for the time being i just turned all of these lines into
comments. With strings we can not normally use them for any
sort of math you 'll want to use a data type of a numeric value
an int or a float which we 'll discuss a little bit later. In order to
display our edge variable along with a string we would need to
convert our edge to the string data type and one way in which
we can do that is by type casting. The data type that we 're
going to cover is a floating point number a float for short. The
last data type is a boolean data type it is a variable that can
only store true or false. Booleans are very useful when we get
to if statements we can check to see if some statement is true.
Multiple assignment allows us to assign multiple variables at
the same time using one line of code. If you would like a copy
of all this code i will copy and paste all of this to the comments
section down below but yeah that is how variables work in
python. There are four basic data types strings, floats and
booleans which only store true or false and they are very
useful with if statements. In this video i 'm going to
demonstrate some useful string methods in python. The video
shows how to find a character within a string and how to
capitalize a variable. In python multiple assignment allows us
to assign multiple variables at the same time using one line of
code. In this video i 'm going to teach you guys all about
typecasting in python in python. We can display a string
multiple times by multiplying that string by a given number.