#3 Python Tutorial for Beginners | Getting Started with Python
Ғылым және технология
Check out our courses:
Spring and Microservices Weekend Live Batch : bit.ly/spring-live-weekend
Coupon: TELUSKO20 (20% Discount)
Master Java Spring Development : bit.ly/java-spring-cloud
Coupon: TELUSKO20 (20% Discount)
Udemy Courses:
Java:- bit.ly/JavaUdemyTelusko
Java Spring:- bit.ly/SpringUdemyTelusko
Java For Programmers:- bit.ly/javaProgrammers
Python : bit.ly/pythonUdemySummer
Git : bit.ly/Git-Telusko
Docker : bit.ly/docker_udemy
For More Queries WhatsApp or Call on : +919008963671
website : courses.telusko.com/
Instagram : / navinreddyofficial
Linkedin : / navinreddy20
TELUSKO Android App : bit.ly/TeluskoApp
In this lecture we will learn:
- How operations are performed in Python language?
- Different types of Arithmetic operations
- What are strings?
- How strings are used in Python?
- Function in a Python
- Concatenation and Repetition of Strings
- New line character and Raw string
#1
- We will the Python IDLE in this tutorial.
- The language that the computer understands is Binary Code i.e, 0 and 1.
- We use a programming language to write code, which is neither a binary language nor English.
- Programming language has its own protocols and grammar which we use.
- We will write code in a programming language say Python and then it will convert into a binary format that the computer will understand.
- We can perform several operations using Python language.
#2
- Starting with operations like Addition, Subtraction, Multiplication, and Division.
- We do addition, subtraction and multiplication with integer values, and then it gives us answers also in integer data type.
- But when performing division with integer values then it gives us an answer in float data type.
- Float stands for Floating Point Representation.
- When we divide two integer values then it might be possible that the answer can in decimal.
e.g., 5/2 = 2.5
- As the interpreter wants to give you an exact answer for the division also, it will return it in float.
- If you want to get only the quotient part or the integer part of the answer and want to neglect the decimal value, it can be done with the help of (//).
- // (double slash) is used for division when you want to return only an integer value in the answer.
- // is also called Integer Division or Floor Division.
- We can multiple operations in a single statement as well.
- We need to follow the proper syntax for the programming language.
- If we apply an operation but do not give operands, then it will give an error.
8+9- = Error
- We can also apply BODMASS rules of mathematics to perform operations.
- Double asterisks (**) is used to find the power of a number.
number ** power = 2**3 = 2*2*2
- To get the remainder, we use the modulus operator (%).
#3
- String is a combination of characters like "KZread", "Camera", "Telusko", "Python", etc., all are strings.
- Whenever we use strings, we need to use double quotes(" ") or single quotes(' ') with it in python.
- If you back-slash(\) to tell the python to ignore the special meaning of that double and single quotes.
- If you use a back-slash before a single or double quotes then the quote is also treated as a simple character.
#4
- Function is a set of tasks that can be done. We need to call functions. There are several functions in Python like the print() function.
- Round brackets are used with a function to pass a parameter in it.
- We can define our own functions as well.
#5
- Concatenation is used to combine two things like we can convert two strings into one using concatenation.
- Concatenation is done using the (+) operator.
e.g., 'navin' + 'navin'
- Repetition is used to print a single value multiple times like we can print a string like "Navin" multiple times.
- Repetition is done using the (*) operator.
e.g., 'navin' * 3
#6
- (
) has a special meaning in Python. It is used to enter a new line.
- To print the original string or to neglect the meaning of
, we have to use a Raw String.
- Raw string is a string that returns it as it is without making any changes to it.
- We have to specify (r) before the quote to print the same string that is present inside the quotes.
#Python #telusko
Github :- github.com/navinreddy20/Python-
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Donation:
PayPal Id : navinreddy20
www.telusko.com
Пікірлер: 6 100
Mastering Java and Spring Boot - Live Course : bit.ly/TeluskoJavaLive Coupon for Discount : TELUSKO30 For More Queries WhatsApp or Call on : +919008963671
@Mohankumar.262
Жыл бұрын
Why don't you write semicolon
@utkrishthsahani3577
11 ай бұрын
In the last where you taught print(‘c:\docs avin’) it is not working on my PC and it keep on saying incomplete input please help 12:54 However, the raw string working.
@JyotiC3
8 ай бұрын
Why don't you wrote print
@fitnessfuelgym2premiumindo488
6 ай бұрын
Kindly level up the video quality Rest everything is super awesome
Best teacher on KZread . He is making so much efforts to teach us so we should support him.
@dailyquotes1181
2 жыл бұрын
Yaar muje bta sakte ho idle ko kaise open krna hai mere pass to hai hi nahi
@shanksshaki
Жыл бұрын
yes ... he is good teaching easier learn...
@TanviGarg-ko9sr
Жыл бұрын
Sir by using raw string we can remove any of the escape sequence in the code
@p.harshini
Жыл бұрын
@@dailyquotes1181 just watch the previous video!!
@ElegancyOfLifeUS5206
10 ай бұрын
yes he is supportive۔ I like the way he teach
2024 attendance 😅
@krishnadas5544
4 ай бұрын
Achhi😊
@krishnadas5544
4 ай бұрын
I am here 😊
@khumbelomatamba6190
3 ай бұрын
Here 2
@nightarrentofficial5867
3 ай бұрын
Present 😂
@AmorhMasinde
3 ай бұрын
Acha tujifunze sasa hio time tulikiwa wadogo 😂😂😂😂 young and stupid 😂😂
Literally no one can explain like you so much effort and easily understand python basics ❤️😎thank you
Excellent, thank you Navin. I instantly feel like I can just follow along with your steps and get a good understanding of this, even coming from a non-programming background. Thanks again.
Hey Navin, great job. Quarantine period is on and wanted to learn a new language. Couldn't have asked for a better virtual teacher. Thanks a ton.
@sapbison
4 жыл бұрын
Second that really!
@lucamanningdunmore537
4 жыл бұрын
The r'c didn't work for me and I didn't need it
@pressgsp4557
4 жыл бұрын
exactly
@rishabhsingh6209
4 жыл бұрын
Men will be men😏🤣 (So many reply and comments because they want to impress her😁)
@shivateja6955
4 жыл бұрын
@@rishabhsingh6209 😆😆
Schools: "give us money to learn python" YT: "learn for free" This internet revolution is insane
@philippebaillargeon5204
3 жыл бұрын
Good luck being a really good CS without school. Of course you can learn to code, but you'll be limited.
@philippebaillargeon5204
3 жыл бұрын
Anyways there are super good CS jobs out there. It's more an investment than anything else.
@harshsinghpanwar210
3 жыл бұрын
Wait your schools teach coding in your schools 😮😮😮
@jsgaming409
3 жыл бұрын
@bro ha u are ediot its wrong check grammar
@ChillBroThatsCrazy
3 жыл бұрын
i am 13 yrs old can i learn it??
You're teaching style is best for everyone. New one can easily understand what you say. I like you're teaching style. Thanks a lot sir for making this PYTHON series.
I have been searching for the perfect Python course in NPTEL and SWAYAM, but none seemed simpler. I am from a non-technical background, and finding your series was the best thing that has happened to me rn.
@user-pv2sh4ie7z
7 ай бұрын
Thanks sir for helping me❤
Unlike many others who do it for money ,I really like your selfless way of teaching and putting in the most public of forum,love from our side.kudos to ur efforts, will keep encouraging work like this and people like you.
@dastonm.5762
4 жыл бұрын
great comment and i agree a lot
@VS4AA
4 жыл бұрын
in 2020 august should we still download the 3.7.0 version that is mentioned in the video or latest version is 3.8.5 that plz to my question
@abidanam6964
4 жыл бұрын
@@VS4AA I don't think so
@beelz1042
4 жыл бұрын
There's also csdojo who does it for free and to help people , he even quit his job at Google(his salary was 100K+$) to help people on KZread
@weebsLover
4 жыл бұрын
@@VS4AA latest version will also do same work becaz I am using
Excellent interface.... 😊😊😊😊😊 like you are teaching us in front of us better than voice over... Because your presence make wonders thank you so much sirrrrrr..... Programing made fun🙏🙏🙏
@AyushVyas1999
5 жыл бұрын
Agreed.. That makes it interesting
@syedrazanaqvi1
5 жыл бұрын
Great video for beginners👍👍👍
This is what I've been looking for, and I have tried maybe 10 different high profile Python tutorials. They are mostly all good, but this one takes the same approach as an in-depth textbook which is absolutely perfect for me. I simply learn much better from videos than textbooks even though I know they contain more information so I am so grateful to be able to access this for free. Thanks!
This is humanity, giving free lessons and that itself is just... wooowwww....thanks sir. ❤️🙏
@jeucas1274
3 жыл бұрын
yes this is amazing of him to do this for free, however he will be payed by KZread per 1000 views he gets this video will have made well over £100
@jeucas1274
3 жыл бұрын
@Dake Lester yeah i know but, I’m saying he gets payed that’s my point
@dineshommi9039
2 жыл бұрын
@@jeucas1274 means how much in inddian currency
@dragongamming8207
2 жыл бұрын
bro see he told for free but he get lots of money from youtube this is how it works btw i am 12 years
those who are learning in quarantine period like it
@deepthib4788
4 жыл бұрын
Nanum than
@AhinDas2506
4 жыл бұрын
Apun 😎
@Sasikala-ej6vx
4 жыл бұрын
@@deepthib4788 nanum Tamil than
@arkaprovodas4920
4 жыл бұрын
yep
@sainnathbadrinath9994
4 жыл бұрын
revising python
The 3 IDEs: 1. PyCharm 2. IDLE 3. Visual Studio
@arjunanparthu7719
Жыл бұрын
Yeah what's the 3rd one
@Laxman_04
27 күн бұрын
@@arjunanparthu7719 VS Code
I have gone through many channels and many teachers online as well as offline they were too good. The only difference is u make us understand in a structured way which is very important . Thanks for being on KZread otherwise ur talent and our time would have wasted .
@Rohit_03
3 жыл бұрын
Kis class ke ho bhaisaab
@dishantkumbhar8822
3 жыл бұрын
@@Rohit_03 2nd year man
@parvsheth5078
3 жыл бұрын
@@dishantkumbhar8822 oh so am I starting early?? cause I am in 9th only. But by looking at whitehat jr ads, I think that I am late. Is it right time to learn it??
@dishantkumbhar8822
3 жыл бұрын
@@parvsheth5078 yes if u start early u can catchup with world competition easily. There is age defined for learning . U can learn anything ,anywhere at any age Imp. Is u learn something new . That's it
@parvsheth5078
3 жыл бұрын
@@dishantkumbhar8822 thanks 😀
I am learning python during the corona holidays
@godakartik8110
4 жыл бұрын
Me too
@martinsmith5861
4 жыл бұрын
Same!
@cryptohacker9295
4 жыл бұрын
Great Timing
@vinayalatha6555
4 жыл бұрын
Mee to
@lovekaransingh204
4 жыл бұрын
Apna bhi same hai 😂
I ve paid and getting online classes to get Realtime projects to work with but since it is beginning i see a lot of matured content here in your classes and way of explanation so easy that even a child can learn.. hatsoff to you.
I watched many python course in yt but their techniques are not as easy and understable as your for beginners. Thanks sir for making this python series ❣️
Sir I've started learning and it's actually going pretty well. Thank you so much! The world definitely needs more people like you :)
@Venom-hg6sn
2 жыл бұрын
Yeah I also starred
@buonylamthem
11 ай бұрын
God bless you ❤
@ammathovanta3172
7 ай бұрын
❤
Excellent finaly i get a teacher who has skills to teach the students 😊😊😊
@manthanpatel6458
5 жыл бұрын
Yes and that to free of cost 🤗
@striveni496
5 жыл бұрын
Yes
@prajwalmp8583
4 жыл бұрын
Ya bro
@nafreefirenaistam8267
3 жыл бұрын
@@striveni496 yeahh dear. Where are you from
@princejeetkaur
3 жыл бұрын
Agree
I have really enjoyed, thank you so much ❤️
Thank you!!for python videos it helps me a lot to learn python as I am a beginner and can prepare for exams....
I'm truly enjoying learning python ❤️.. You're an Amazing teacher...
@shreesaireddy1533
2 жыл бұрын
Give ur WhatsApp number
@kittenhijith5816
Жыл бұрын
Well xplained .Thanks 🙏 for your effort to teach alll of us who are beginners in python
Yep nice video, ty for taking the time to make it.
Best video ever for learning python, excellent teaching style !
oh wow. who knew this thing could be easy to learn. wow wow wow!
print('C:\docs\ avin') also works in the last of the video.
@sound4644
3 жыл бұрын
For me print ('C:\docs avin') also works
@RK-bz9ps
3 жыл бұрын
But in that case one slash will also come which may not be want
@deepakpatra2011
3 жыл бұрын
@@RK-bz9ps no it will just cancel out the special meaning of second back-slash, so it will be printed in one line with one back-slash👍
@sajalgpt8
3 жыл бұрын
I think \\ is useful to get the integer output...with all humility but there's no point of using double slash in strings
@akhilb97
2 жыл бұрын
@@sound4644 Seems you have used /n instead of
Thanks navin. My school teacher sucks , I started learning online . Just found your channel 15 minutes ago and seriously, I'm blown. I'm a student , can't PayPal you , but will surely watch all your advertisements and will try to share your channel as much as possible. Thanks!
@eswar3655
4 жыл бұрын
Hi
@dhanashreenair4232
4 жыл бұрын
Same here
@darylthomas6101
4 жыл бұрын
Hi Ayush or any other commenter. I was wondering if you are taking this class at a university what text book are you using?
@lakshayy3329
4 жыл бұрын
@@darylthomas6101 You can Go for PYTHON FOR SCIENTISTS for sure
Today is my fisrt day to study python online class and as a beginner , I very like your video !
Hi sir Im a beginner of python I need to be master in python. I enjoy python classes with your teachings. I appreciate it. I loved it. 😊😊
@user-yn2bv7hv3d
3 ай бұрын
Hi there, how is it going for you?
In youtube no one explain like this........thanx sir for this video
@antrohydon0426
6 жыл бұрын
gaurav kumar yeah... *FACT*
@princejames5266
5 жыл бұрын
No, there is an other one just like him called vsauce 1
@jashuvad872
5 жыл бұрын
@@princejames5266 send me the link i didn't find vsauce 1
Nobody has ever explained a programming language in such an easy and interesting way. Phobia has gone now. Thank you sir!
I first took this course with an online university, and I have tried learning on a few KZread channels but I didn't really get the concept and understanding, I think on this channel it is going really well. Thank you Nadin. I want to be Cyber Security Expert so I am starting my first step towards achieving that now
@Teatimewithme366
7 ай бұрын
Same here Hey how far are you in it Stated working yet?
Really appreciate the efforts you are taking. The way you have taught the foundations of Python here is really easy to grasp and practice as well 👌. It's helping a lot, Thanks for the course, it means a lot ❤
learning a new language in lockdown is a lot fun
I am watching courses around for python and even enrolled to edx courses but sir navin is something extraordinary, the way he is presenting is really interesting, engaging and in such brief, other places it is more like robotic
Thank you so much for this series you made. Keep it up!
what a guy! giving courses for free on the internet !! thanks a lot sir!
Went through alot of sites to learn python and I would like to say THIS IS THE BEST Thanku alot .Stay safe.
>>> print('c:\docs navin') c:\docs navin >>>
@rockingdrumzzz7887
4 жыл бұрын
That's called presence of mind but sometimes you'll get confused
@kishankini3406
4 жыл бұрын
@@rockingdrumzzz7887 I differ.. It's cool. But it isn't printed in same line. But still great.
@NikhilKumar-si6ny
4 жыл бұрын
You use /n before navin so it takes to u in next line the outcome will be c:/docs Navin
@farhanshamim8071
4 жыл бұрын
>>> print('c:\docs\ avin') c:\docs avin
@souvikkumarkhanra7274
4 жыл бұрын
Great idea
I am enjoying while studying ☺️☺️☺️☺️☺️ thanks for that sir
just discovered this channel, amazing content
Amazing lectures!! Just loved the way you interact and it just feels like sitting in an actual class.
Thank You for considering my feedback to post Videos in 1080p. Love the way you present a concept.
Thank you for making learning Python feel so achievable.
this is what Im looking for!! the best!!
I have never seen computing language so simply taught. Looking forward to complete the tutorial. Thank you so much for helping us!! :-)
You are amazing. Really I'm learning Python with full fun, Big salute to you
Thanks you Sir ! u are awesome teaching .... So easier learn .... im very happy sir !!!!!
I really appreciate your work. You are doing well. Keep doing like this.
Really sir two different things that makes the learning more effective includes your presence on screen and the interactive layout. ENJoying a lot
This is an actual beginners course, starting from the very beginning. Thank you so much for this, Navin! In other 'beginner' courses I have found there is still assumed knowledge or understanding which an actual beginner can not have. I had questions immediately after watching other tutorials and I can see here these questions are being answered straight away and I already feel like I understand so much more after 3 short videos of this course.
Sir the way you taught is amazing... Everything in my mind got clear..
Its just an amazing for non coding background person as well💥❤
Initially I thought Python is not for me but after watching this video it is like I also can learn. Best teaching method and even a layman also can understand
@vivianocansey4266
Жыл бұрын
👍
first time I have got interest in these kind of stuffs , never expected as a Mechanical engineer I will have learn this, and u teach in so simple and awesome way
Fun and playful.... First time enjoyed with coding 😂😂
excellent videos of the course and well explained 😊, you are doing a great job, thank you
I find your method of teaching and transfer of knowledge easy. i like
This is classic and enjoyable. Much appreciated from Zambia
You are superb sir...you explained everything that many people get confused & do wrong. This small things make fundamentally strong. 👍👍
it's so easy to understand your video. I love it. Thank you so much sir
its worth for my self sir u r intelligent and explaining crazy thank u for reading my comment
I studied it in 11th n 12th but didn't get even a p of python but now after 4-5 yrs I'm studying it from you sir it looks so easy bcz of you ..kudos to you sir ❤️❤️
"This works" Naveen sir be like "yay!!" Love you sir
I never knew these many types of print stuffs ,these many days, really amazing sir😃
This was pretty dope, learned something new with the r for raw string part
PyCharm, Thonny, sublime, idle, atom, Vim are some of the famous Python IDE
@abhinavsingh6159
4 жыл бұрын
what about vs code it supports all the languages
@Username-ym9tt
3 жыл бұрын
And I am here using spyder from anaconda
@user-pl9iw8fw9u
3 жыл бұрын
Visual Studio Code?
@parthgupta1057
3 жыл бұрын
VS code is the best
Just joined this session and i never knew that learning coding can be this much fun ! Thank you so much sir.
You are incredibly amazing navin
It is the most amazing series I've ever been on KZread 🙏
come fall in love with Navin sir's class 😍😍
MAN ur a frickin gem, what a guy giving a course for free without charges!!
Thx it really helped me I will follow all ur videos and try to understand
goood humble n resourceful....loving it
It's great to watch u r channel growing day by day...one of u r old subscriber's
print ('We are lucky students to be taught python by"Navin Sir"') >>>We are lucky students to be taught python by"Navin Sir"
@hellorafiul
4 жыл бұрын
@DeepakRawat-qm6on
4 жыл бұрын
>>>print('i agree') i agree
@50ksubscriberswithoutanysi48
4 жыл бұрын
√
@asjha2300
4 жыл бұрын
Syntax error bro
@AJRK0825
4 жыл бұрын
Print ('We are lucky students to be taught python by "naveen sir"') Ouptut- we are lucky students to be taught python by "naveen sir" Need to use semicolon rule if u r asking any other question. Then let me know
Ur video strikes different on mind , really awesome!
You are actually awsm your classes make learning simple.
i was looking a teacher who could teach me python in an interactive way, Finally i found you sir
@rohanbagga22
4 жыл бұрын
True!!!!!!
Navin sir ,u r the best, love ur teaching.. I'm getting more interest on python while listening ur sessions thank you so much
Great tutorial! Clear explanations and examples make it easy to follow along. Looking forward to learning more about variables in the next video. Keep up the good work!
the details of his teaching are excellent
Just great as usual sir.. undoubtedly you are the best teacher 🙏🙏..
Heyy i',m your biggest fan ,, So simple so clear so nice so cool ,, ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
Great Teaching..... Congratulations Sir
its a very good channel for going beginners to advance... keep going.👌
I thought this programming language would be a buyer pill to swallow but you have made it sooooo simpleeee. Loved it
top 3 ides are atom,eric,visual studio code,IDLE
Excellent for learning from basics!
yes I've enjoyed a lot in learning python. It makes my work easy to understand the coding language.
I am a student of class 6th and I have a craze to learn programming and at first I chosen Python i didn't find a correct teacher so I thought to surf on youtube and then I got your channel Telusko and then i started to learn from your videos, make notes of whatever you used to tell and this is the journey till now video#3
Dyamn! you're making Python sound so much fun 😘. Kudos to you, sir. 👏🏽
You are amazing sir!!!!! Best videos
Tnq sir for explaining it very clearly, iam enjoying ur classes 👍
very nice videos for beginners thanxs you so much
print('c:\docs\ avin') Also works sir
@mcgkiing
5 жыл бұрын
It works brother but it occurs confusion while reading
@rahamanohi5688
5 жыл бұрын
'ohiohiohiohiohiohiohiohiohiohi' How to remove this (')?
@manoj011179
5 жыл бұрын
@@rahamanohi5688 >>> print (10 * 'ohi') ohiohiohiohiohiohiohiohiohiohi
@dikshachourasiya9749
4 жыл бұрын
What Will be the answer?.. c:\docs\ avin ???
@darshathakkar
4 жыл бұрын
@@rahamanohi5688 : Put the string in print() function to get rid of ' '.
Informative video specially for new learners... Thanks alot.... Great effort..🙏😃
Wow this so enjoying and understandable Keep teaching