Arithmetic Operators (अंकगणितीय ऑपरेटर) :-
Arithmetic Operators (अंकगणितीय ऑपरेटर) वे Operators हैं जिनका उपयोग गणितीय (Mathematical) गणनाएँ (Calculations) करने के लिए किया जाता है। इनकी सहायता से हम जोड़ (Addition), घटाव (Subtraction), गुणा (Multiplication), भाग (Division), शेषफल (Modulus), घात (Exponentiation) तथा पूर्णांक भाग (Floor Division) जैसी गणनाएँ कर सकते हैं।
Python में Arithmetic Operators सबसे अधिक उपयोग किए जाने वाले Operators हैं और लगभग हर Program में इनका उपयोग होता है।
English
Arithmetic Operators are used to perform mathematical calculations such as addition, subtraction, multiplication, division, modulus, exponentiation, and floor division.
These are the most commonly used operators in Python and are used in almost every Python program.
Syntax -
The Addition Operator (+) is used to add two or more operands.
Addition Operator (+) का उपयोग दो या दो से अधिक संख्याओं को जोड़ने के लिए किया जाता है।
Syntax-result = operand1 + operand2
Example -
The Subtraction Operator (-) is used to subtract one operand from another.
Subtraction Operator (-) का उपयोग एक संख्या में से दूसरी संख्या घटाने के लिए किया जाता है।
Syntax-result = operand1 - operand2
Example -
The Multiplication Operator (*) is used to multiply two operands.
Multiplication Operator (*) का उपयोग दो संख्याओं का गुणा करने के लिए किया जाता है।
Syntax -Example -
The Division Operator (/) divides one operand by another and always returns a float value.
Division Operator (/) का उपयोग भाग देने के लिए किया जाता है तथा यह हमेशा Float Result देता है।
Syntax :-Example -
The Modulus Operator (%) returns the remainder after division.
Modulus Operator (%) भाग देने के बाद बचा हुआ शेषफल (Remainder) लौटाता है।
Syntax :-
Example -
The Floor Division Operator (//) returns only the integer part (quotient) of the division.
Floor Division Operator (//) भाग देने के बाद केवल पूर्णांक भाग (Integer Quotient) लौटाता है।
Example -
The Exponentiation Operator (**) raises one number to the power of another.
Exponentiation Operator (**) किसी संख्या की घात (Power) निकालने के लिए उपयोग किया जाता है।
Syntax :-Example -