#11 Python Tutorial for Beginners | Operators in Python

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

Coupon: TELUSKO10 (10% Discount)

Coupon: TELUSKO10 (10% Discount)

Coupon: TELUSKO20 (20% Discount)

Udemy Courses:

For More Queries WhatsApp or Call on : +919008963671

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.

Editing Machines & Monitors :

More Learning :

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

im on my final year of undergrad mechanical engineering and this covid19 stay at home got me so boom I decided to learn coding and I found this channel. Good heavens!

ninoangelobacayo
Автор

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}

abhilashdevarakonda
Автор

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!!

thaysbarca
Автор

Sir you are like an angel for computer engineer 😘

lulsec
Автор

Sir you are just amazing
You make me confident that i can learn python
Thank you sooo much

sreegopal
Автор

I never saw a teacher like you !!!! U r explaining the concept clearly ; Thank you so much

s.preetha
Автор

The way you explain it's damn easy to understand and video editing is BOLE TO #JHAKKASS..

dipankarnag
Автор

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. <3

jdflores
Автор

The way you teach is amazing mate, I'm loving my Python learning journey.

nigel
Автор

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 😂

zavier
Автор

Integer :- a whole number value
Float :- a decimal value
String :- a text
Character :- special symbols

g-tech
Автор

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: *@*

tutohowto
Автор

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

shankargope
Автор

Learning PYTHON After C++ .... and honestly saying its hell easy.... Anyone Like me?

ourcity
Автор

Data type-->int, float, string, range, list, tuples, set etc

akashsoftengg
Автор

Really a good way of taking someone from zero to higher. Thank you

milindsaurabhsingh
Автор

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

thetechpower
Автор

see, how people are selfish bcoz the views on this video are 7.5 lakhs and likes are only 12k

yagneshacharya
Автор

following this series & this is great, short time;more learning!

XiwithHighPing
Автор

Yes Sir...I'm enjoying your tutorials a lot.
Your way of teaching is very simple, effective and interactive.

ahmadhamzakhan