#3 Python Tutorial for Beginners | Getting Started with Python
HTML-код
- Опубликовано: 26 июн 2024
- Check out our courses:
Spring and Microservices Weekend Live Batch : bit.ly/spring-live-weekend
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : bit.ly/java-spring-cloud
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 "RUclips", "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 Наука
Mastering Java and Spring Boot - Live Course : bit.ly/TeluskoJavaLive
Coupon for Discount : TELUSKO30
For More Queries WhatsApp or Call on : +919008963671
Why don't you write semicolon
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.
Why don't you wrote print
Kindly level up the video quality
Rest everything is super awesome
2024 attendance 😅
Achhi😊
I am here 😊
Here 2
Present 😂
Acha tujifunze sasa hio time tulikiwa wadogo 😂😂😂😂 young and stupid 😂😂
Best teacher on RUclips . He is making so much efforts to teach us so we should support him.
Yaar muje bta sakte ho idle ko kaise open krna hai mere pass to hai hi nahi
yes ... he is good teaching easier learn...
Sir by using raw string we can remove any of the escape sequence in the code
@@dailyquotes1181 just watch the previous video!!
yes he is supportive۔ I like the way he teach
Literally no one can explain like you so much effort and easily understand python basics ❤️😎thank you
The 3 IDEs:
1. PyCharm
2. IDLE
3. Visual Studio
Yeah what's the 3rd one
@@arjunanparthu7719 VS Code
Schools: "give us money to learn python"
YT: "learn for free"
This internet revolution is insane
Good luck being a really good CS without school. Of course you can learn to code, but you'll be limited.
Anyways there are super good CS jobs out there. It's more an investment than anything else.
Wait your schools teach coding in your schools 😮😮😮
@bro ha u are ediot its wrong check grammar
i am 13 yrs old can i learn it??
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.
great comment and i agree a lot
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
@@VS4AA I don't think so
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 RUclips
@@VS4AA latest version will also do same work becaz I am using
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.
I am a teacher by profession and computer specialist. Doing my degree course in BSCIT LEearning c++, but its frustration. So i decided to take the language of Python. You are the best
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.
Second that really!
The r'c didn't work for me and I didn't need it
exactly
Men will be men😏🤣
(So many reply and comments because they want to impress her😁)
@@rishabhsingh6209 😆😆
This is humanity, giving free lessons and that itself is just... wooowwww....thanks sir. ❤️🙏
yes this is amazing of him to do this for free, however he will be payed by RUclips per 1000 views he gets this video will have made well over £100
@Dake Lester yeah i know but, I’m saying he gets payed that’s my point
@@jeucas1274 means how much in inddian currency
bro see he told for free but he get lots of money from youtube this is how it works btw i am 12 years
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.
Thanks sir for helping me❤
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.
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🙏🙏🙏
Agreed.. That makes it interesting
Great video for beginners👍👍👍
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 RUclips otherwise ur talent and our time would have wasted .
Kis class ke ho bhaisaab
@@Rohit_03 2nd year man
@@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??
@@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
@@dishantkumbhar8822 thanks 😀
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!
I have really enjoyed, thank you so much ❤️
those who are learning in quarantine period like it
Nanum than
Apun 😎
@@deepthib4788 nanum Tamil than
yep
revising python
print('C:\docs\
avin') also works in the last of the video.
For me print ('C:\docs
avin') also works
But in that case one slash will also come which may not be want
@@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👍
I think \\ is useful to get the integer output...with all humility but there's no point of using double slash in strings
@@sound4644 Seems you have used /n instead of
This is great! it's 09-06-2024 I've started learning python wholeheartedly, I'm writing this comment so that i could lookback after 6 months
Thanks Reddy sir🤞
~Alien
I am learning python during the corona holidays
Me too
Same!
Great Timing
Mee to
Apna bhi same hai 😂
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!
Hi
Same here
Hi Ayush or any other commenter. I was wondering if you are taking this class at a university what text book are you using?
@@darylthomas6101 You can Go for PYTHON FOR SCIENTISTS for sure
Excellent for learning from basics!
Best video ever for learning python, excellent teaching style !
Excellent finaly i get a teacher who has skills to teach the students 😊😊😊
Yes and that to free of cost 🤗
Yes
Ya bro
@@striveni496 yeahh dear. Where are you from
Agree
I'm truly enjoying learning python ❤️.. You're an Amazing teacher...
Give ur WhatsApp number
Well xplained .Thanks 🙏 for your effort to teach alll of us who are beginners in python
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.
Thank you!!for python videos it helps me a lot to learn python as I am a beginner and can prepare for exams....
In youtube no one explain like this........thanx sir for this video
gaurav kumar yeah... *FACT*
No, there is an other one just like him called vsauce 1
@@princejames5266 send me the link i didn't find vsauce 1
learning a new language in lockdown is a lot fun
Best teacher for programming language ☺️
oh wow. who knew this thing could be easy to learn. wow wow wow!
print ('We are lucky students to be taught python by"Navin Sir"')
>>>We are lucky students to be taught python by"Navin Sir"
>>>print('i agree')
i agree
√
Syntax error bro
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
Sir I've started learning and it's actually going pretty well. Thank you so much! The world definitely needs more people like you :)
Yeah I also starred
God bless you ❤
❤
Thank you so much for this series you made. Keep it up!
completed this video lec, and enjoying already......
Nobody has ever explained a programming language in such an easy and interesting way. Phobia has gone now.
Thank you sir!
Yep nice video, ty for taking the time to make it.
Perfect explanation.. thank you sir👍
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. 😊😊
Hi there, how is it going for you?
>>> print('c:\docs
navin')
c:\docs
navin
>>>
That's called presence of mind but sometimes you'll get confused
@@rockingdrumzzz7887 I differ.. It's cool. But it isn't printed in same line. But still great.
You use /n before navin so it takes to u in next line the outcome will be c:/docs
Navin
>>> print('c:\docs\
avin')
c:\docs
avin
Great idea
print('c:\docs\
avin')
Also works sir
It works brother but it occurs confusion while reading
'ohiohiohiohiohiohiohiohiohiohi'
How to remove this (')?
@@rahamanohi5688
>>> print (10 * 'ohi')
ohiohiohiohiohiohiohiohiohiohi
What Will be the answer?..
c:\docs\
avin
???
@@rahamanohi5688 : Put the string in print() function to get rid of ' '.
Wow great teaching. Thank you for your efforts.
Very well understanding sir
That's very great of u 👍
PyCharm, Thonny, sublime, idle, atom, Vim are some of the famous Python IDE
what about vs code it supports all the languages
And I am here using spyder from anaconda
Visual Studio Code?
VS code is the best
Went through alot of sites to learn python and I would like to say THIS IS THE BEST
Thanku alot .Stay safe.
I am enjoying while studying ☺️☺️☺️☺️☺️ thanks for that sir
I'm really enjoying it as beginners
Thanks Navin
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
🤓 Quiz Answer 🤓
Name any 3 IDE for python
Answer : 1) PyCharm
2) Atom
3) Eclipse
4) Thonny
5) Spyder
Pychram, ecllipse, Spyder
@@milanbariya4914 tqq
What about anaconda it is also a ide environment right?
I find your method of teaching and transfer of knowledge easy. i like
excellent videos of the course and well explained
😊, you are doing a great job, thank you
3 IDEs for Python:
1. Pycharm
2. VS Code
3. Atom
Difference between idle and bycharm
Thank u for it
@@RajKumarGupta-dv7ug I didn't get u
You could also use Notepad++ or Sublime text
@@amalaadduri43 idle is a simple interpreter but pycharm is an IDE which is used for project level usage.
Fun and playful.... First time enjoyed with coding 😂😂
your tuitorial are so easy to understand thank u Navin sir
it's so easy to understand your video. I love it. Thank you so much sir
You are amazing. Really I'm learning Python with full fun, Big salute to you
Hi! Just wanted to say thank you for teaching python. Anyways so,
print ("navin's a good python teacher")
>>>navin's a good python teacher :)
how about print('navin\'s a good python teacher')
>>> navin's a good python teacher
Thank you very much. You are a genius.
just discovered this channel, amazing content
Sir the way you taught is amazing... Everything in my mind got clear..
Amazing lectures!! Just loved the way you interact and it just feels like sitting in an actual class.
This was pretty dope, learned something new with the r for raw string part
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.
Great Teaching..... Congratulations Sir
very nice videos for beginners
thanxs you so much
I have never seen computing language so simply taught. Looking forward to complete the tutorial. Thank you so much for helping us!! :-)
Its just an amazing for non coding background person as well💥❤
the details of his teaching are excellent
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
Thank You for considering my feedback to post Videos in 1080p.
Love the way you present a concept.
I really appreciate your work. You are doing well. Keep doing like this.
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 ❣️
This is classic and enjoyable. Much appreciated from Zambia
Damn better than udmey paid videos totally worth watching thank you
I agree ! I'm using zero to hero course ! What course do you use ?
Sanjay S same bro
Thank you for making learning Python feel so achievable.
You explain this way better than my lecturer (first year programming student)
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
Really sir two different things that makes the learning more effective includes your presence on screen and the interactive layout. ENJoying a lot
I Promise you, If I learn python from you , I will pray for your hair growth😉😇🥰
💀
He doesn't need it.. even he's handsome in such way like vin Diesel.. 😍
You are incredibly amazing navin
I am 12 and want myself to code a program. Thank you so much telusko.people, wish me all the best
All the best man!♥️
All the best bro :) I am learning as well and I am 38. Never too late ;)
You are superb sir...you explained everything that many people get confused & do wrong. This small things make fundamentally strong. 👍👍
Best python teacher ever!!!!
Vera level🎉!! Teaching sir!!
I watch your channel in 2024😊
top 3 ides are atom,eric,visual studio code,IDLE
pycharm , ERIC ,Komodo are few IDE"S ..Next well explained Navin ..Thanks a lot
Thank you so much for wonderful video session.
You are actually awsm your classes make learning simple.
MAN ur a frickin gem, what a guy giving a course for free without charges!!
IDE's for Python are
Pydev, Spyder, Thonny, Pycharm, IDLE, Rodeo.
Thank you for lessons Sir😁👍
you forget jypter
Wow just amazing 👏 bro u are the one who made a language is very easy to learn tqs lot
goood humble n resourceful....loving it
Heyy i',m your biggest fan ,,
So simple so clear so nice so cool ,,
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
it feels so great
sir personally say "Hi" to me
Lmao
lol xd xd xd xd
@@Foxy-mb5do hi drar
The way you are teaching is awesome
I really much impressed of , thank you so much sir
Just great as usual sir.. undoubtedly you are the best teacher 🙏🙏..
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 ❤️❤️
thank you anna chala baga explain chesavu