Python Tutorial for Absolute Beginners #1 - What Are Variables?
Вставка
- Опубліковано 1 чер 2024
- Learn Python programming with this Python tutorial for beginners!
Tips:
1. Here is the playlist of this series: goo.gl/eVauVX
2. If you want to learn faster than I talk, I’d recommend 1.25x or 1.5x speed :)
3. Check the outline in the comment section below if you want to skip around.
4. Download the sample files here to follow along (they are Jupyter Notebook files): www.csdojo.io/python1
5. Have fun! If anything is unclear, please let me know in a comment.
Keep in touch on Facebook: / entercsdojo
Subscribe to my newsletter: www.csdojo.io/news
Support me on Patreon: / csdojo
Outline (check the comment section for a clickable version):
0:00 : Introduction
0:17 : Who’s this tutorial for?
0:30 : An outline of this video
1:18 : What is Python and what can you do with it?
2:01 : What is IDE and why I chose Jupyter Notebook
3:09 : How Jupyter Notebook works
4:19 : How to install Python and Jupyter (through Anaconda)
5:58 : Launching Jupyter
7:59 : The print() function
10:24 : Introduction to variables
13:08 : What are variables (in Python)?
16:42 : Assigning a variable to another variable
19:03 : A practice problem - swapping two variables
20:40 : Solutions to the practice problem - swapping two variables
Below is an outline of this video.
Also, a few tips:
1. Here is the playlist for this series: goo.gl/4dQMsJ
2. If you want to learn faster than I talk, I’d recommend 1.25x or 1.5x speed :)
3. Download the sample files here to follow along (they are Jupyter Notebook files): www.csdojo.io/python1
4. Have fun! If anything is unclear, please let me know in a comment.
0:00: Introduction
0:17: Who’s this tutorial for?
0:30: An outline of this video
1:18: What is Python and what can you do with it?
2:01: What is IDE and why I chose Jupyter Notebook
3:09: How Jupyter Notebook works
4:19: How to install Python and Jupyter (through Anaconda)
5:58: Launching Jupyter
7:59: The print() function
10:24: Introduction to variables
13:08: What are variables (in Python)?
16:42: Assigning a variable to another variable
19:03: A practice problem - swapping two variables
20:40: Solutions to the practice problem - swapping two variables
Sir what is pycharm
Does Python is used in Big Data technology stack?
I am complete beginner from where I should start from c or python
Yes! One popular framework for this is called Spark.
PyCharm is an IDE. It's pretty much the best one out there for Python.
I explain what an IDE is at 2:01.
Shout out to every one learning programming during quarantine
lol me too
Jordz 1 yes!
good stuff thanks YK!
so intimidating mate.
but onwards we go...
Here to learn and come out with a new skill by the end of it all
i want to learn python.
teachers in my country: pay me
asian programmers: i got you son.
ok pay them u broke gay
@Troll The Respawn same! :D
@Troll The Respawn same
Troll The Respawn same
Misha123 learning should be free. You shouldn’t have to pay to learn something.
This is my first video on python. I have ZERO experience and my field is in medical. I am looking for a career change and you made this video so easy for me to understand. I am close to my 40’s and I am that old school person that had a hard time turning on the monitor at her last job. Thank you for this video and for everything that you do to help others understand.
I had the same view even with zero experience I'm 22 don't get a job yet but trynna learn a soft skill for future..
27.. my job is changing up on me for the worst. Trying to do the same thing.
do you really understand what he said
Hello...
Did you learn something or you let in middle...?
wishing you the best
Thank goodness I came across your video! Not only do you explain this using basic vocabulary to prevent any confusion or having to back track, you also explain why and it’s so helpful. I feel like most of the videos on UA-cam show you what to do but not why, what it does or how it’s going to be used when you get a career in the field. I’m hoping that you continue to make these videos that helps people learn code without feeling intimidated.
Me trying to figure out what coding is
UA-cam ads: so u want to become a software engineer at google
Lol so true!🤣🤣🤣
Me who found out you can use python to hack I want to try and hack my phone
@@supernova_757 what have you learned so far? I am also starting right now
Same
Same.
The ironic part is that he “quit” working for google and yet he’s still getting paid by google XD
Lol true
Wait what?
MetaDude Google owns UA-cam and UA-cam pays him Ad revenue so yeah
@@tarunvenigalla oh, I thought of it in another way
@@MetaDude from yt
Thank you CS Dojo for taking the time and sharing your expertise...please continue. Always yearned to go this direction but thought I missed it because I never learnt it when I left school - thank you!!! You have the ability to explain it so clearly, the best I've ever seen on youtube.
Until now, you are the very best channel I use to learn how to program. I adore the fact that you explain everything deeply detailed and you take every point without taking for granted that someone knows already what you are talking about. Love it.
me: print("hello world")
mom I am a programmer now!
Actually you are because at least you DID program SOMETHING
And your mom be like : OMG CAN YOU MAKE ME A PHONE
lol
@@rafiullahmomand8599 😆
@@giaem4108 😂😂
Coronavirus outbreak starts:
People: lets learn programming!
big win
Yeah
Literally me
Haha me
Me😂😂
Thank you Cs Dojo, I have watched many lectures in UA-cam and I always confuse and struggle to understand RL and how we select action and this is the best one and I understood every single part :) .
This is amazing. I went to a phyton class the other day, I couldn't understand any of what the instructor taught. This is a gem. Thank you CS Dojo
This man has a folder name "Why I left Google" I love it
Well, he made a video on it, thats why i guess
🥰🥰
The quickest way to swap in Python is by using Tuples. Try this:
a = 2
b = 4
a, b = b, a
print(a) will give you 4
print(b) will give you 2
How easy is that. No more temps!
Avik Nigam thanks.
ooh I like!
Thank you sir!
Awesome
This is such a time saver. Thank you
I would recommend your videos to everyone. You have explained better than all those videos out there. Great work! Thank you so much for making it easier to learn.
Followed along with this 4 months ago, but laziness got the better of me and I didn't continue until now. Had to refresh by watching parts of this, but it quickly came back to me. Great explanations that make it easy even for someone who's never done this before.
1:18 What is Python
4:19 Installing Python
7:59 print() function
10:25 Variables
19:03 Swapping Variables
*Just time stamps*
These comments were so useful before the video suggestion feed went under the video. So much scrolling now.
Why don't u do this job on our programming videos
@@powerhour4602 in it
Lizard OwO THANKS
Thanks
He explains it so simple that even a baby can understand it. I've been on other tutorials and this is the best one on UA-cam.
Thanks. This it the comment I was looking for. This is my first time trying to learn a programming language and I have been worrying over how I'll understand as I am not tech savvy. I was lucky enough to watch this video first then I watch another channel and felt this one was easier but I needed to hear from someone else to confirm. I'll continue with his channel
@Shayaan Hasan Yes
🤔😂😂🤭
I hope to get it right. I just started a program on computer science but all the teams sound like grammar to me. I hope to get through soon 😥
he just specified it like that so everyone can understand
i am a grade 11 student that will pursue IT course in college, and I'm here to say that this should be the very first step to take if you want to know anything about programming language (honorably mentioning Python). instructions were very clear and easy to follow. would highly recommend this video and ofcourse this channel, thanks YK!!
Your teaching is absolutely amazing YK, the start that you gave through examples of variables is amazing unlike most other tutorials who start by explaining theories rather than showing how codes actually work. Loving it!
"Just click 'agree with everything'"
Spoken like a true Google programmer.
ahahahahaha exactly what i thought
I swear
i'm regretting the time i spent searching for tutorials before finding this awsome channel on 2020
@@AyushMauryavanshi Hey wassup?
@@AyushMauryavanshi sorry bro, i don't have instagram
@@mohanadomar669 r u egp bra ?
@@mohanadomar669 i wanna converse wiz ye ?
@@mohamedel-shamy1945 i'm Sudanese, sorry buddy
YK, your series is so amazing. you are not only a genius in the Tech sector, but you are a very good teacher. This is the best explained video i have watched on python. thanks once again
Thanks so much, CS Dojo! You have made my first Python class easier and I hope to learn a lot from your channel
I may be a bit late into the "Let's learn programming during quarantine" party but I assure you we will all come out of this with fruitful results. Stay safe everyone
me tooo
Well in that case you are not alone...
Its never too late to learn!!
Here is someone who just joined the party, looking forward to build solid understanding of python hehe 8---)
Quarantine made me realize how little I actually know, so I decided to also learn python
I like that you're not just saying, "do this just because I say so." You actually explain why you ask us to do each task.
I've watched many python tutorials on the internet. All great. But this one has something special. I always back to it. As I don't work as a programmer and not do programming related tasks as well, I always have to remind the core concepts. And I found here to be the best place to do so.
I have done several exercises after this.. even tried 3 variables and 2 temps and I couldn't be happier when the result was correct !
Thank u sooo much !!
I'm just starting to learn programming during quarantine!! WHO ELSE IS WITH ME?? IM NOT CRAZY! LOOK MOM I CAN TYPE HELLO WORLD ;-; are you proud
me im starting today lol
Patrick Sullivan me
Me
same
Yessss I programming
That satisfied feel when you've understood everything...
Thank you.
Yeah it is a very good feeling
I felt it to after watching this video
started coding now and python is my first programming language I am learning
your videos are really easy to understand. Thanks
Very informative and the pace was on point. I will be getting a Bachelors and eventual Masters in CyberSecurity and I need to learn Python forwards and backwards. Your channel will be a BIG help!
Bro I'm literally 1 day into learning python and sitting at my computer completely lost. Your vid got me going. Thanks brother, keep up the good work.
You still going?
still going?
Still?
still going?
ONELove still going?
a = "You deserve"
b = "A million Subscribers"
print (a)
print (b)
You deserve
A million Subscribers
print(a,b)
now he has million subs, lol
@@1stclone479 python is a powerful language lol
@@saaemshaikh3788
I see,
let me try
-
a = ["Hey Python". "Is a strong language"]
print(a[0], a[1]) #xd just making the code little bit shorter with lists and print thingie :D
a = " you deserve"
b = " a million subscribers"
print (a + b + "!" )
You deserve a million subscribers !
How easy is that
I'm back! I went through your python videos earlier this year to get through a python course. Haven't touched it since, just found out I have to code something for my final course. Learned easily with your videos, so I'm going through them again! Keep doing what you do!
Great video. The simple problem you gave really cemented the concept in my head. Also, the drawings you do really help me visualize what's going on. I appreciate you & your video!
raise ur hand if u watchin' during quarantine
Student Brennan Slocum yep 👍
Lol literally haven’t learned a single thing about coding yet although looking to proceed to learn web design later this year in college
I'm watching cuz I want to die so I'm trying to not have that feeling
my parents are forcing me to learn this stuff i have no idea about, and i have no interest in. whatever
🖐🏼
I just decided to start coding. Python was the recommended platform from my physics professor. I just wanted to tell you this video was very easy for me to understand. I came from not knowing anything about programming before this. thank you!
same , my computer science teacher also recommend to use python instead of java or anythinh else
He explained so easily man.This is difference between paid and free course from a real coder.Loved It
I love how precise and accurate you are when explaining..
This is the kind of channels that needs at least 6 million subscribers. What an injustice!
If it was Kim Kardashian giving somebody a b****** it probably would
You are a gift from the programming gods
Liked this comment.
@@royal6355 same
Yes
Lol😀
True true
literally explained it the best way ive seen in the last few days. I am a beginner to the most EXTREME degree. thank you!!
I don’t want much for my birthday. I just want the person reading this to be healthy, happy and loved. Wishing you a good day !
Same to you!
🙏🙏🙏
aww thx
Well I want 500kg of Parmesan cheese
Aww..I really needed this kindness. I wish you well, healthy and peace. 💛 Have a lovely life ahead 🥰
when a 25 mins video is better than your 2.5 hrs introduction class in cs
Truuueeee
Ya
Absolute beginner here. Thank you, thank you thank you!
How is it going for you?
@@cu806 going great for me
I was so struggling with my business computing homework and i couldn't find any helpful tutorials on youtube. But finally found this video!!!!! omg it's the one that i've been looking for! Thanks a lot
Thank you very much. This is by far the best tutorial I have found on youtube as a beginner. You made it simple and easy to understand. Keep up the good job
This is awesome! I love how you mark the time points and name each of them - soooo easy to navigate and makes learning on UA-cam more efficient!
YK, I have learning disabilities and autism
This was incredibly easy to follow, thank you so much.
Thank you for your gradual immersion approach. I'm trying to understand the flow of programming and I think you'll be very helpful. Thanks again.
cheers from Romania, im a robotical engineer i also work in the field but im more focused on mecanical design and construction if automated assembly equipment.
im curently learning computer science to become more efective and i can say that this dude is the best teacher there is out there. i did al 16 tutorials in 2 days and i practiced for a week to be confortable with code, and i didnt forget anything. cheers and good health to CS Dojo
a=“this tutorial was awesome!!!”
print(a)
this tutorial was awesome!!!
b="your comments looks awesome"
print(b)
Your comments look awesome
ankur singh b = 'Your comments looks awesome' , you dont need " , just '
i recommend you guys to learn 3.6 instead cause if you try to code in newest releases from now on, many things wont work, for example that print function is no longer available with that syntax, now it´s print("x") for strings
a = "ALLAHU AKBAR"
print(a)
shit where did my arabian friend go
thats right
After two semesters of C++ about 15 years ago, and about twelve hundred failed attempts to sit down and start learning a language since then, you know what they say: The twelve hundred and first time's a charm!
Lol
4 months later, have u learned?
@@kidcudihums I started really strong and then kind of trailed off. Thanks for the reminder!
You are amazing. I haven't learn programming with this simple and easy methods. I visited many other youtube channels and wants to learn programming mainly python. but by reaching your channel my all doubts are removed. Thank you for for doing that. God bless you.
He teaches so well and in easy to understand ways other videos get me so confused or frustrated/afraid to try coding
I have never done programming before but with this video, l have confident in my studies. thank you
An environment where confidence is felt even in failure or misunderstanding is the best environment for learning
if you understand any subject you will start to like it...this is the problem most students dont realize
羅だなあ羽田まな矢田
Please make the whole series of python 👍and also make machine learning video series!!
+
👍🏽👍🏽
Print (yes)
**correction Print ("yes")
Yea
Starting my journey to learn programming and this was such an easy tutorial to follow! Thank you so much and learn about the python!
4 years on, and this video still remains the best python beginner tutorial
ua-cam.com/video/S2aMhPunctw/v-deo.html
5 now
Man, I´m a self instructed programmer from Latin America, just found your videos...totally subscribed, keep it up.
Just love the way you make a guy who out of curiosity and had no background to programming understand, thank you so much for making everything clear and simple
The best python tutorial in UA-cam ever!! Kudos CS Dojo
You truly rock I am taking a Python course for the first, I have never had experience with Python this video is helping me dive in he Python world. Thank you
Nobody on UA-cam can explain better then him , Thanks CS Dojo
Please make a HUGE series of python !!! The way you teach us things is so good!
I started this series a while ago and now am in a great place with programming, thanks!
Been struggling for months to get excited about learning python..
This channel is the best
Thank you so much for this! I have been contemplating learning code for almost a year now.
Very concise, easy to follow and grasp.
Now I'm excited!!!
Tute completed. Currently hacking ISS.
Lol
Printing and variables can’t hack something unless it’s security is crap n the dev gots no clue what’s he doing :) hey btw I just hacked your UA-cam channel xD (this is just a joke so don’t get offended pls) 😂
@@myth5002 r/whoosh
InfiniteGovind XD r/woooosh
Are you still on it?
Hi YK! Thanks for sharing this extravagant video about Python. I've actually just started programming and am taking a preparatory course.
All i wanna say is print ("" WOW'') man. im speechless how your teaching is so simple in comprehensive at same time compare to others. thanks for your skill man.
Hi;
The way you are teaching it, you are making me to love learning Python, thank you , you are a great teacher. I will follow all your videos until I learn Python thanks
That makes so much sense. .. I tried other tutorials and they all seem to assume you have a previous knowledge which i don't.... that is so much better. Thank you!
Hey, dorotex and now you can code good. Asking because I wanna try so I came to the comments first.
@@nancymugambi1446 yes
The best beginner explanation, especially the coding part. Much appreciated
The swapping variable example reminded me of the body swap episode in Futurama. Very neat. Looking forward to the rest of the series.
Thanks for the simple tutorial, most other beginners tutorials are very fast and hard to follow. You make it very easy and take the time to explain slowly, thank you!
I am tenth grader and have wanted to learn python for a year now. I am really grateful to you for this. Thanks man!
wonderful!! i am new to this and been looking for so long and finally found it. subscribed it and lovin it. thanks a lot CS Dojo for starting from a scratch!!
This video was excellent at explaining the very basics. It was really easy to follow along. Thank you!
In the moment when he says "Jupyter Notebook" my brain runs 5 times quicker, and than gets to the normal.
😂😂😂
fr !!!
@@animallover7784 yup
pls same😭
i have been looking into coding for awhile now and finally and trying to learn it, this video was really helpful! Thank you.
He explains it so calmly and its easy to understand. Best video on youtube
Great instructor.Made all the concepts super easy and crystal clear.
I appreciate what you are doing, you are a real one for leaving Google and helping others. You give me hope for humanity
Bruh
yeah man..... there are some good people out there.....so you should never start judging the whole F******G world too soon....by the way no offence to you bro
ua-cam.com/video/l9sTz0ZruLo/v-deo.html
Bruh Kinda ironic considering google owns UA-cam xd
finally a good tuitor
im a 13 years old who wanted to start learning python while having some fun learning it and this video really helped me i thought that python was a really hard thing even to start but i was wrong you really helped keep up the good work
Thank you so much YK!!! I’m old and coding is so alien to me but this tutorial makes lots of sense!
Hey YK! You're awesome buddy! Please keep educating us. And just try to post videos in every one or two days so , you know, we will be on track and learn more vastly. Thank you so much
I love the way you explain.... It easy to learn fast from you, your English is clear and smooth..... God bless you
I will be here in four months after securing a laptop to follow one by one........
I just started learning Python from scratch again. Great video in what variables are and how to swap variables.
Thanks, man! Decided to learn Python and found your playlist. Looking forward to the whole series!
Me: I've always wanted to learn how to code, now would be a great time!
Ad: hey you, yeah you, you suck at programming, buy my course.
wow, that's a harsh ad lol
I got the same kind of ad right before this vid.
Literally what it said: “You will never learn how to code online. Sorry but it’s true. UA-cam tutorials and all that just won’t cut it.” 😂
Mine was: "Do you want to be a programmer on Google?" or something like that. Coinsidence?
I'm auditing a paid Python course and I have to go here to find out how things work. You sir, make life a lot easier, thank you! May life be very generous to you!
this was so helpful. we have to learn this for uni and it's been killing me but this made the concepts so easy
UA-cam recommended your channel to Me. I just finished with my Data Structures & Algorithms Classes. I’m now starting Python 🐍. I saved your Python Playlist, as well as others. You gotta new subscriber! 👍👏🙏
Your speech is very clear
Shahzaib Khan right
Good pronunciation, didn't mind the accent one bit.
i had zero experience in PYTON and iveseen so many videos but this guy's video made me actually understand it THANK YOU
Wow, I decided this morning to have a look at what programming is and yes it is a daunting thing to think about... but WOW YK, you made this sound super easy! Thank you!
I trust this channel rather than others. 🙄.
you are very clear on your topics, that's what I love it.
A request, can u put up a tutorial of core Java.