#3 Python Tutorial for Beginners | Getting Started with Python

preview_player
Показать описание
Check out our courses:

Coupon: TELUSKO20 (20% Discount)

Coupon: TELUSKO20 (20% Discount)

Udemy Courses:

For More Queries WhatsApp or Call on : +919008963671

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 "Youtube", "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
- (\n) 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 \n, 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

More Learning :

Donation:
PayPal Id : navinreddy20
Рекомендации по теме
Комментарии
Автор

Coupon for Discount : TELUSKO30

For More Queries WhatsApp or Call on : +919008963671

Telusko
Автор

Best teacher on Youtube . He is making so much efforts to teach us so we should support him.

aryarajput
Автор

Literally no one can explain like you so much effort and easily understand python basics ❤️😎thank you

viraltrend
Автор

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.

nomadcrows
Автор

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.

shalbanymanna
Автор

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.

Harvr
Автор

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.

ayodhyarode
Автор

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.

hopealong
Автор

This is humanity, giving free lessons and that itself is just... wooowwww....thanks sir. ❤️🙏

antonyvivek
Автор

Schools: "give us money to learn python"
YT: "learn for free"
This internet revolution is insane

RakeshKumar-znnm
Автор

The 3 IDEs:
1. PyCharm
2. IDLE
3. Visual Studio

gitahidavid
Автор

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!

thobrik
Автор

Excellent interface.... 😊😊😊😊😊 like you are teaching us in front of us better than voice over... Because your presence make wonders thank you so much Programing made fun🙏🙏🙏

AmanMishra-uogf
Автор

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 YouTube otherwise ur talent and our time would have wasted .

dishantkumbhar
Автор

Today is my fisrt day to study python online class and as a beginner, I very like your video !

tripleeason
Автор

those who are learning in quarantine period like it

ShivamKumar-gsve
Автор

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!

jethalalgada
Автор

I have really enjoyed, thank you so much ❤️

mucunguzibrian
Автор

Best video ever for learning python, excellent teaching style !

krishnapriya
Автор

I am learning python during the corona holidays

GanendraOrusu