#11 Python Tutorial for Beginners | Operators in Python
HTML-код
- Опубликовано: 4 окт 2024
- Check out our courses:
Spring Framework 8 Full-Day Course Live: go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Enterprise Java Spring Microservices: go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com...
Coupon: TELUSKO20 (20% Discount)
Udemy Courses:
Spring: go.telusko.com...
Java:- go.telusko.com...
Java Spring:- go.telusko.com...
Java For Programmers:- go.telusko.com...
Python : go.telusko.com...
Git : go.telusko.com...
Docker : go.telusko.com...
For More Queries WhatsApp or Call on : +919008963671
website : courses.telusk...
Instagram : / navinreddyofficial
Linkedin : / navinreddy20
TELUSKO Android App : bit.ly/TeluskoApp
In this lecture we will learn:
Different types of operators in Python
Use of different operators
Operation performed between different operators
Logical operators and their uses
#1
Types of operators in Python:
1. Arithmetic operators
2. Assignment operators
3. Relational operators
4. Logical operators
5. Unary operators
Arithmetic operators are used to perform mathematical operations like addition, subtraction, multiplication, division, etc.
Assignment operation is performed with the help of equal to(=), in which we can assign a value to the variable.
We can also do the assignment by short-hand which means performing an arithmetic operation and then assigning the value both at the same time.
We can also assign the values in one line for two variables.
a,b = 5,6
Unary operator takes a single operand in an expression or a statement.
Comparison can be performed with the help of relational operators.
Comparison operators return a boolean value or True or False.
#2
If you want to combine two or more conditions and then check the relation between them, then logical operators are used.
Logical operators include And, Or and Not.
Logical operators follow the truth table for And, Or, and Not operators.
And the operator returns True when both conditions are true otherwise returns False.
Or the operator returns True when any of the conditions or both the conditions are True otherwise it returns False.
Not the operator reverses the value of the output.
Github :- github.com/nav...
Java and Spring Framework For beginners with Spring Boot : - bit.ly/3LDMj8D
Java Tutorial for Beginners (2023) :- bit.ly/3yARVbN
Editing Machines & Monitors :
amzn.to/2HA6ra8
amzn.to/2VMBBPw
amzn.to/2RfKWgL
amzn.to/2Q665JW
amzn.to/2OUP21a.
Java:- bit.ly/JavaUde...
Spring:- bit.ly/SpringU...
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
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.telusko.com - Наука
im on my final year of undergrad mechanical engineering and this covid19 stay at home got me so bored.....then boom I decided to learn coding and I found this channel. Good heavens!
If you're interested in computers, why didn't you chose software engineering/computer science.
@@harshakampli2760 well lets just i realized that im more interested in computer 5 years too latee.....
@@ninoangelobacayo67 oh, it's okay😁
@@harshakampli2760 the thing is nowadays coding is an important skill for engineers belonging to any discipline. From developing excel spreadsheet to running simulations of aerospace models, a knowledge of coding is required to get the job done
@@kamalbhaizan oh ok. Thanks for that.
none = a variable with no assaigned value
list=[ a group of mutable values]
tuple=(a group of immutable values)
set= {a group of none repeating valuves}
range=(series of values that can be expressed using end values)
mapping={storing values uses keys instead of indexing}
Excellent
Table ni smjh aa rha kya matter hai bro table ka .can u tell me pls
Good!
TQ Abhi👍
instead of mapping it is better to say "dicationary" bro, rest is well.👍
Watched 11 videos of python course and I can't thank you enough for these classes! Great explanations and insights, making the learning experience fun and fast. Thank you so much for your generosity!!
Sir you are like an angel for computer engineer 😘
Even for mechanical engineer
even for an electronic engineer
I.T
Even for a commerce graduate
Even for 11th student
Sir you are just amazing
You make me confident that i can learn python
Thank you sooo much
I never saw a teacher like you !!!! U r explaining the concept clearly ; Thank you so much ...........
The way you explain it's damn easy to understand and video editing is BOLE TO #JHAKKASS..
BOLE TO POORA JHAKAAS
I am a complete noob to coding and computer science. This guy makes it easy to understand and learn. thanks for all the hard work and dedication to making these awesome videos! You sir are an angle!
p.s.
when I get my first programming job I will donate to this guy in recompense.
Hi mate, have you got your first job, and how it’s going
The way you teach is amazing mate, I'm loving my Python learning journey.
Learning PYTHON After C++ .... and honestly saying its hell easy.... Anyone Like me?
I actually love how you are taking through the series for people who know other languages and letting them not confuse with python.
OMG Python looks child's play in front of C 😂
No.
see , how people are selfish bcoz the views on this video are 7.5 lakhs and likes are only 12k
😂
1- *string* = 'used to store text' e.g: *'navin'*
2-*float* = 'used to store decimal or fractional values' e.g: *2.69*
3-*integer* = 'used to store non-decimal values' e.g: *7*
4- *character* = 'used to store symbols' e.g: *@*
not only symbols i think.character = symbols + alphabbets+numbers in foem of name
There is no character in python...even a single letter is considered as a string
No character in python
Yes no character in python
Integer :- a whole number value
Float :- a decimal value
String :- a text
Character :- special symbols
numeric types right??????.... asked data types none,numeric,list,tuple,set,range,string,map(dictionary)
i know u r smarter now, because its 4 years now..... 😁 sry for what i said, just replaying to your comments thats all
Excellent, have got clear understanding of what operators are, their divisions based on operations, operational utility👌. Thanks a lot for the tutorial series, its helping a lot getting a hold of Python foundations step by step👍
Name of four datatypes with definition -->
1. None = variable with no assigned value
2. Numeric = int, float, complex, bool
3. Sequence = list, tuple, set, string, range
4. Dictionary = a collection of key and value pairs, where keys are unique and immutable like string or numbers
following this series & this is great, short time;more learning!
Meeru chaala baaga chepthunaru.Thank you
Really a good way of taking someone from zero to higher. Thank you
Yes Sir...I'm enjoying your tutorials a lot.
Your way of teaching is very simple, effective and interactive.
Yes sir good.. elaborate discussion by examples 🙏..
Data type-->int, float, string, range, list, tuples, set etc
Im in love with ur work... thankzz sir💕 from sri lanka
DATA TYPES
1) None :It is simply null vale
2) List : collection of
elements.We use []
braces in list.it is
mutable type
3) Tuple : collection of
elements.we use ()
braces in tuple. It is
immutable type.
4) int : It is interger type
datatype that gives only
interger value.E.g.
6,8,9
5) float : It is decimal or
floating point type
data type that gives
only floating type
values.e.g.5.7
6) complex : It is a datatype
which contains
complex digits
such 6+8j
Enjoying the series a lot. Lots of respect from Bangladesh
The way u teach is just amazing sir💫thanks alot 🙏
THANK YOU SIR FOR THIS AMAZING EXPLANATION, LECTURES, GRAPHICS, EXAMPLES,...............
Sir no words to express my gratitude.. thank you for your work.... it means a lot for students.... thank you sir .....
A very good teacher you are ! I love the way you explain all the concepts!!
see jay sharma python he is also study python
I understood that learning these type of classes in youtube is much more better than learning in clg...even I know that python is easier than another languages of computer but I cant understand when my teacher is saying..but by your channel even an 8th class student learn the python....well done sir..keep up your work
I was soo unhappy that I couldn't learn python even after doing several courses.This course helped me a lot!!...God bless ✨
I like the way you teach "Prof. Reddy"! Thanks a lot for your videos!
nice
Just started. Hoping to get most of it. Telusko has done a great job. Thanks.
this lesson is very very very perfect for beginner! Thanks very much!!!
This helps me clear up doubt in my data analytics course. Thank you!
I don't understand why do our institutions teach us C++ instead of Python as introductory course to programming, python is such an amazing course though? I think python could not be so easy but the way of teaching the Sir makes it so, thank you sir for your efforts.
because C++ has better operational advantages / projects coming than Python
Very simple and easy lectures, hands-off to you, great work, u made programming easy to understand and learn
Just An awesome teacher. I m very low in programming but after going through your vdos I think I will also become a Gud programmer. Thanks for uploading it sir. More power to you
Sir u are the one who Clare my all douts thank you 👍👍👍👍❤️❤️❤️🙏🙏🙏
Thanks a lot for this tutorial sir 😊
Your are giving great effort for us. Tnx very much Reddy sir
You are simply amazing
Really loving this python session
Thank you so much for this...
Keep progressing😇
your videos are amazing sir ,thankyou for teaching us in this fun way.
Superb teaching sir..hands off to u sir tq
your advertisement also educational oriented its good to see and getting more happy
Sir you are god of programming
Thank you sir
Sir your tutorials are over powered .....nice and super
Sir your teaching methods get the easily.more information about anything..I so glad .. thanku your teaching amezing..
sir your teaching method is more interesting than my fav tv series.....thank you sir
Basically I'm from non technical backround,, and my brother from technical backround so I was thinking that how I'll learn something new,, than I found python and I watched your videos and now I'm learning from your videos and and making a notes ..thank you so much sir,, your way of teaching is amazing... ☺☺👌
list = [1,2,3,4,5]
tuple=(2,3,5,6)
set={4,5,6,,2,8}
dictionary={'a ': 1,'b':2}
Gobar ganesh
Awsome Bro. I really loved it. I have completed till operators secession. I got lot of interest. I will Defenetly complete python program. Thank you so much Bro.
Very useful to every beginner's so thanku so much sir for making these vedioes to the python students who learning thanku thanku so much for the useful vedioes
Coming from Arduino this is making much sense. But Python seems like it has many more application. Thanks for taking the time to make these videos Navin!
Best ever python tutorial ever!!
🤩🤩🤩🤩🤩🤩
Hi Navin.. The way you approach towards the concept is literally awesome. Please do some videos on Python API's too. It would be helpful for us.
Thanks a lot Sir for making this series... I'm really enjoying it
Great person you are. I was in dilemma regarding the required stuffs for python. Now I am gaining Momentum. Love ❤❤ from NIT! 🙏
List, which is a mutable datatype,
Tuple, which is a immutable datatype,
set, which is a unordered, unindexed datatype,
Dict, which is also knowing as mapping used in the combination of keys and values.
Finding your video is like starving for food for two days and then being offered a 100% discount on full meals . Great videos in no time . Thankyou a lot bro for the work
Sir you teached me very nicely without you I wouldn't get the topic clear
Navin sir, you are good instructor.
Tuple : is an ordered sequence of items same as list.
None : it's not assigned to any value like as null .
Dictionary : is an unordered collection of key-value pairs.
String : is sequence of Unicode characters.
This is by far the best Python tutorial in RUclips
1) string - they are group of letters example - "hello "
2) numeric - they are group of only numeric elements they can be presented in lists, tuple, dictionary,sets
3) list - they are group of non-unique elements
example-[11,"hello","look"]
4)dictionary - it is a group of keys and its values
example-{"1:'one' , 2 : 'two' "}
Navin u did a great job..Fabolous ,I'm the biginner of learning the python your vedios helped me lot
smooth explanation and easy to understand
With your teaching I am damn sure I will perform good in programming field
1.list-[ collection of mutable values]
2.dictionary-{storing values using keys instead of indexing}
3.tuple-(a group of immutable values)
4.set={group of non repeating values}
no word of appriciation , helping me a lot
your add also educational oriented, its good to see getting happy
Hey Naveen you are doing a great job, we always thankful to you because you starts from introduction
Dude, please never remove these videos. Life time guide.
Great explanations and insights thank you so much bro.
numeric - any numbers related type
string - any written characters stored between quotes
sequencial - a piece of data storing some many values
none - no information stored in a variable
Interesting....
dictionary- storing values by assigning them keys to access them efficiently.
numeric=int,bool,float,complex.
none= a variale with no value.
list = a collection of elements.
I just don't understand how anyone would give you a thumb down. This video was GREAT. I think competitors are trying to slander your great presentation....Please don't be discouraged!!!
U MADE MY JOURNEY EASY TO LEARN PYTHON MR.NAVEEN REDDY SIR, LOVE YOU.
you are really amazing the way you teaches is great
Big thank you for helping and supporting
1. Lists - Collection of elements that are mutable, uses [ ] to store the elements
2. Dictionary - Key, value pairs , uses { }
3. int
4 Float etc.
int - holds signed integers of non-limited length.
long- holds long integers(exists in Python 2.x, deprecated in Python 3.x).
float- holds floating precision numbers and it’s accurate upto 15 decimal places.
complex- holds complex numbers.
Thank you! 5:10 is waht I was needing. You are not assigning but you are comparing the A and B. Thanks!
Hey Navin...first of all thank you so much for all your efforts to make these tutorials...they are truly helpful...the only problem is that subtitles hide bottom left side of screen...plz fix that next times. Thank you and keep educating the world.
bro your explanation is next level
so helpful sir..thanku
i am enjoying thanks for sereise
I was searching for copper, but I struck gold.
Thank you so much.
This is one of the best comments i have seen.
Sirs u r amazing really a great platform to learn and pls tell how to write complex codes with different criterion ....and want to know wat is mutable and immutable pls tell sir
your making python to learn easily
Indeed enjoying learning as well as presentation
GOOD JOB,NAVEEN,PROUD TO C U R TELUGU GUY,THANK U!
Thank you very much sir, one of the easiest way that you have explained.
Telling it in an good way we are enjoying it like a game
1. None-null
2. Numeric-int,float,complex, bool
3. Sequence-list,tuple,set,range,string
4. Dictionary-mapping
Thank you sir
Your vedious are really helpful to us
Four Data Types:
1.None- Variable assigned with no value
2.Numeric: int,float,complex,bool are type of numeric data.
In int we have integers, in float we have decimal nos.,in complex we have imaginary nos(generally imaginary nos have "i" but in python we use "j") and in bool we use boolean expression i.e. true or false
3. Range: When we etrayed b/w the values we use range
Example- 1 to 10
4.Dictionary: It is used when we have huge data
In dictionary for every value we assign different key for each value but in list we have different index for each value.
Where is String :)
Four data types are
#1 None
#2 Numeric
#2.1 Int
#2.2 Float
#2.3 complex
#2.4 Bool
#3 Sequence
#3.1 Lists
#3.2 Tuple
#3.3 Set
#3.4 Range
#3.5 String
#4 Dictionary
#quiz
1. None-> When a variable is not assigned any value (in other languages we use null)
2. Numeric-> A variable is numeric when it has a numerical value.
It is of four types :
a) int->variable has integral value. e.g. a=10
b) float -> variable have floating-point value. e.g. b=10.5
c)complex-> variable having complex value including both real as well as imaginary part. e.g. 2+4j (where j= (-1)^1/2)
d) Bool-> For boolean (simply means true or false)
THANK YOU FOR THAT SESSION, IT WAS A GOOD ONE
Brilliant explanation sir so easy to understand for a beginner,thanks a lot sir