Operators in Python

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Operators in python

Asalu rendu variables madyalo a operation jarigindhi ?


a operation jarigite a output vostundhi?

Ivanni meeku teliyaali telisi teerali…


anduke e operators concept cheptunna.
------------------------------------------------------------------------------------------------------
“Arithmetic operators” ivi regular addition (+) , subtraction (-) ,multiplication
(*),division(/), remainder(%), exponent(**) , integer division(//).
Ilaanti regular operations lo use chestaam.

----------------------------------------------------------------------------------------------------------------
“Comparision operators” ante rendu variables ni polchadaniki use chestaaruuu.
They are evaluated as “TRUE or FALSE” at the end.

Ah comparison last ki “avunaa? Kaadha? “ ani decide avutundhi.


------------------------------------------------------------------------------------------------------------
Rendu variables lo yedhi peddadhi? Yedhi chinnadhi ? renduu equal a na?
ilaanti situations lo comparision operators use chestaam.

“Assignment operators” ante oka arithmetic operation perform chesi at a time oka
variable ki ah value ni assign chestaam.
------------------------------------------------------------------------------------------------------------
“LOGICAL operators” 3 untaai AND , OR ,NOT

Unna 2 conditions satisfy avvali anukunte we will use AND.


Rendintlo a okkati satisfy ina saripotundhi anukunte use OR.

“NOT” Idhi true ni false ga false ni true ga maarustundhi.


------------------------------------------------------------------------------------------------------------
“BITWISE operators” ante oka number ni binary ga convert chesi each bit meedha
manam specify chesina operation perform chestundhi.

These includes “Bitwise and (&)” , Bitwise OR( | ) ,xor(^) , left shift ,right shift etc
------------------------------------------------------------------------------------------------------------
“Membership operators” ante manam vetukutunna value oka data structure lo
(list ,tuple etc) member ah kaadha? Ani check cheyadaniki e “membership
operators” use chestaam.
Oka vela unte true otherwise false.
“in” lekapote “not in” e renduu membership operators.
------------------------------------------------------------------------------------------------------------
“Identity operators” ivi rendu untaai avey “is” inkokati “is not”

Rendu objects same ah kaadha anedhi decide cheyadaniki veetini use chestaam.
------------------------------------------------------------------------------------------------------------

You might also like