Python Arithmetic Operators || arithmetic operators in python, arithmetic operators in python in hindi
Arithmetic Operators in Python
Arithmetic operators:-
เคเคจ เคเคชเคฐेเคเคฐों เคा เคเคชเคฏोเค เคธाเคฎाเคจ्เคฏ เค ंเคเคเคฃिเคคीเคฏ เคเคฃเคจाเคं เคैเคธे เคोเคก़, เคुเคฃा เคเคฆि เคเคฐเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै। เค ंเคเคเคฃिเคค เคเคชेเคฐเคเคฐ เคตे เคिเคจ्เคน เคนैं เคिเคจเคा เคเคชเคฏोเค เคเคฃिเคค เคเคฐ เคช्เคฐोเค्เคฐाเคฎिंเค เคฎें เคธंเค्เคฏाเคं เคฏा เคตेเคฐिเคเคฌเคฒ्เคธ เคชเคฐ เคฌेเคธिเค เคเคฃिเคคीเคฏ เคाเคฐ्เคฏ เคเคฐเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै। เคंเคช्เคฏूเคเคฐ เคช्เคฐोเค्เคฐाเคฎिंเค เคฎें, เคเคจ เคเคชเคฐेเคเคฐों เคा เคเคชเคฏोเค เคธंเค्เคฏाเคค्เคฎเค เคฎाเคจों เคฎें เคฌเคฆเคฒाเคต เคเคฐเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै। เคฏे เคเคชเคฐेเคเคฐ เคเคฃिเคคीเคฏ เคเคฃเคจा เคเคฐเคจे เคฎें เคฎौเคฒिเค เคนैं เคเคฐ เคชाเคฏเคฅเคจ, เคธी, เคाเคตा เคเคฐ เค เคจ्เคฏ เคช्เคฐोเค्เคฐाเคฎिंเค เคญाเคทाเคं เคฎें เคต्เคฏाเคชเค เคฐूเคช เคธे เคเคชเคฏोเค เคिเค เคाเคคे เคนैं।
These operators are used to perform common arithmetic calculations like addition, multiplication etc. These operators are used to perform common arithmetic calculations like addition, multiplication etc. Arithmetic operators are symbols or characters used in mathematics and programming to perform basic mathematical operations on numbers or variables. In computer programming, these operators are used to manipulate numeric values. These operators are fundamental in performing mathematical calculations and are widely used in programming languages like Python, C, Java, and more.
- Exponentiation ( ** )
- Multiplication ( * )
- Division ( / )
- Floor (Integer) Division ( // )
- Modulus ( % )
- Addition ( + )
- Subtraction ( - )
Exponentiation (Power) Operator [ ** ]:-
เคฏเคน เคเคชเคฐेเคเคฐ เคिเคธी เคธंเค्เคฏा เคा เคชाเคตเคฐ เคैเคฒเคुเคฒेเค เคเคฐเคคा เคนै। เคเคชเคฐेเคเคฐ เคे เคฌाเคं เคธाเคเคก เคी เคตैเคฒ्เคฏू เคเคงाเคฐ เคคเคฅा เคฐाเคเค เคธाเคเคก เคी เคตैเคฒ्เคฏू เคाเคคांเค เคนोเคคी เคนै। เคชाเคฏเคฅเคจ เคฎें, เคเค्เคธเคชोเคจेंเค (เคชाเคตเคฐ) เคเคชเคฐेเคเคฐ เคो เคฆो เคคाเคฐांเคเคจ (**) เคฆ्เคตाเคฐा เคฆเคฐ्เคถाเคฏा เคाเคคा เคนै। เคเคธเคा เคเคชเคฏोเค เคिเคธी เคธंเค्เคฏा เคो เคเค เคจिเคถ्เคिเคค เคाเคค (เคชाเคตเคฐ) เคคเค เคฌเคข़ाเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै। เคฌाเคฏां เคเคชเคฐेंเคก เคเคงाเคฐ (เคฌेเคธ) เคนै, เคเคฐ เคฆाเคฏां เคเคชเคฐेंเคก เคช्เคฐเคคिเคชाเคฆเค (เคเค्เคธเคชोเคจेंเค) เคนै। เคเค्เคธเคชोเคจेंเค (เคชाเคตเคฐ) เคเคชเคฐेเคเคฐ เคฒूเคช เคฏा เคเคธ्เคเคฎ เคซ़ंเค्เคถंเคธ เคी เคเคตเคถ्เคฏเคเคคा เคे เคฌिเคจा เคชाเคฏเคฅเคจ เคฎें เคाเคคांเค เคจिเคाเคฒเคจे เคा เคเค เคธुเคตिเคงाเคเคจเค เคคเคฐीเคा เคนै।
This operator calculates the power of a number. The value on the left side of the operator is the base and the value on the right side is the exponent. In Python, the exponentiation operator is represented by two asterisks (**). It is used to raise a number to a certain power. The left operand is the base, and the right operand is the exponent. The exponentiation operator is a convenient way to perform exponentiation in Python without the need for loops or custom functions.
Multiplication [ * ]
เคฏเคน เคเคชเคฐेเคเคฐ เคฆो เคธंเค्เคฏाเคं เคा เคुเคฃเคจเคซเคฒ เคจिเคाเคฒเคคा เคนै। เคชाเคฏเคฅเคจ เคฎें เคुเคฃเคจ เคเคชเคฐेเคเคฐ เคो เคเคธ्เคเคฐिเคธ्เค เคिเคน्เคจ (*) เคฆ्เคตाเคฐा เคฆเคฐ्เคถाเคฏा เคाเคคा เคนै। เคเคธเคा เคเคชเคฏोเค เคฆो เคธंเค्เคฏाเคं เคฏा เคฎाเคจों เคो เคเค เคธाเคฅ เคुเคฃा เคเคฐเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै। เคเคช เคुเคฃเคจ เคเคชเคฐेเคเคฐ เคा เคเคชเคฏोเค เคชूเคฐ्เคฃांเค เคเคฐ เคซ़्เคฒोเคिंเค-เคชॉเคंเค เคธंเค्เคฏाเคं เคฆोเคจों เคे เคธाเคฅ เคเคฐ เคธเคเคคे เคนैं, เคเคฐ เคเคธเคा เคเคชเคฏोเค เค เคงिเค เคเคिเคฒ เค ंเคเคเคฃिเคคीเคฏ เคธंเคाเคฒเคจ เคฏा เคเค्เคธเคช्เคฐेเคถเคจ เคे เคญीเคคเคฐ เคญी เคिเคฏा เคा เคธเคเคคा เคนै।
This operator calculates the product of two numbers. The multiplication operator in Python is represented by the asterisk symbol (*). It is used to multiply two numbers or values together. You can use the multiplication operator with both integers and floating-point numbers, and it can also be used for more complex arithmetic operations or within expressions.
Division [ / ]
เคฏเคน เคเคชเคฐेเคเคฐ เคญाเค เคเคฐเคคा เคนै เคคเคฅा เคญाเคเคซเคฒ เคฆेเคคा เคนै। เคเคชเคฐेเคเคฐ เคे เคฌाเคं เคธाเคเคก เคी เคตैเคฒ्เคฏू เคो เคฐाเคเค เคธाเคเคก เคी เคตैเคฒ्เคฏू เคธे เคญाเค เคिเคฏा เคाเคคा เคนै। เคชाเคฏเคฅเคจ เคฎें เคกिเคตीเคเคจ เคเคชเคฐेเคเคฐ เคो เคซॉเคฐเคตเคฐ्เคก เคธ्เคฒैเคถ ("/") เคฆ्เคตाเคฐा เคฆเคฐ्เคถाเคฏा เคाเคคा เคนै। เคเคธเคा เคช्เคฐเคฏोเค เคเค เคธंเค्เคฏा เคो เคฆूเคธเคฐी เคธंเค्เคฏा เคธे เคตिเคญाเคिเคค เคเคฐเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै। เคเคฌ เคเคช เคกिเคตीเค़เคจ เคเคชเคฐेเคเคฐ เคा เคเคชเคฏोเค เคเคฐเคคे เคนैं, เคคो เคชाเคฏเคฅเคจ เคชเคฐिเคฃाเคฎ เคे เคฐूเคช เคฎें เคเค เคซ़्เคฒोเคिंเค-เคชॉเคंเค เคจंเคฌเคฐ (เคฆเคถเคฎเคฒเคต เคธ्เคฅाเคจों เคตाเคฒी เคเค เคธंเค्เคฏा) เคฒौเคाเคคा เคนै, เคญเคฒे เคนी เคกिเคตीเค़เคจ เคा เคชเคฐिเคฃाเคฎ เคเค เคชूเคฐ्เคฃ เคธंเค्เคฏा เคนो। เคฏเคฆि เคเคช เคชूเคฐ्เคฃांเค เคตिเคญाเคเคจ เคเคฐเคจा เคाเคนเคคे เคนैं เคเคฐ เคชเคฐिเคฃाเคฎ เคा เคेเคตเคฒ เคชूเคฐा เคญाเค เคช्เคฐाเคช्เคค เคเคฐเคจा เคाเคนเคคे เคนैं, เคคो เคเคช เคชाเคฏเคฅเคจ เคฎें เคซ़्เคฒोเคฐ เคกिเคตीเคเคจ เคเคชเคฐेเคเคฐ (//) เคा เคเคชเคฏोเค เคเคฐ เคธเคเคคे เคนैं।
This operator divides and returns the quotient. The value on the left side of the operator is divided by the value on the right side. The division operator in Python is represented by the forward slash ("/"). It is used to divide one number by another. When you use the division operator, Python returns a floating-point number (a number with decimal places) as the result, even if the division would result in a whole number. If you want to perform integer division and get only the whole part of the result, you can use the floor division operator (//) in Python.
Floor Division [ // ]
เคฏเคน เคเคชเคฐेเคเคฐ เคญाเค เคเคฐเคคा เคนै เคคเคฅा เคญाเคเคซเคฒ เคो เคिเคธी เคเคจ्เคिเคเคฐ เคธंเค्เคฏा เคे เคฒเคเคญเค เคฎें เคฌเคฆเคฒ เคฆेเคคा เคนै। เคเคชเคฐेเคเคฐ เคे เคฌाเคं เคธाเคเคก เคी เคตैเคฒ्เคฏू เคो เคฐाเคเค เคธाเคเคก เคी เคตैเคฒ्เคฏू เคธे เคญाเค เคिเคฏा เคाเคคा เคนै। เคชाเคฏเคฅเคจ เคฎें, เคซ़्เคฒोเคฐ เคกिเคตीเค़เคจ เคเคชเคฐेเคเคฐ เคो `//` เคฆ्เคตाเคฐा เคฆเคฐ्เคถाเคฏा เคाเคคा เคนै। เคเคธเคा เคเคชเคฏोเค เคฆो เคธंเค्เคฏाเคं เคे เคฌीเค เคตिเคญाเคเคจ เคเคฐเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै เคเคฐ เคชเคฐिเคฃाเคฎ เคे เคชूเคฐ्เคฃांเค เคญाเค เคो เคฒौเคाเคคा เคนै, เคช्เคฐเคญाเคตी เคฐूเคช เคธे เคญाเคเคซเคฒ เคो เคจिเคเคเคคเคฎ เคชूเคฐ्เคฃांเค เคคเค เคชूเคฐ्เคฃांเคिเคค เคเคฐเคคा เคนै। เคนाเคฒाँเคि, `//` เคเคชเคฐेเคเคฐ เคชเคฐिเคฃाเคฎ เคा เคेเคตเคฒ เคชूเคฐ्เคฃांเค เคญाเค เคฒौเคाเคคा เคนै। เคฏเคน เคตिเคถेเคท เคฐूเคช เคธे เคคเคฌ เคเคชเคฏोเคी เคนोเคคा เคนै เคเคฌ เคเคช เคเค เคธंเค्เคฏा เคो เคฆूเคธเคฐी เคธंเค्เคฏा เคธे เคธเคฎाเคจ เคฐूเคช เคธे เคตिเคญाเคिเคค เคเคฐเคจे เคी เคชूเคฐ्เคฃ เคธंเค्เคฏा เคช्เคฐाเคช्เคค เคเคฐเคจा เคाเคนเคคे เคนैं।
This operator divides and rounds the quotient to an integer number. The value on the left side of the operator is divided by the value on the right side. In Python, the floor division operator is represented by `//`. It is used to perform division between two numbers and returns the integer part of the result, effectively rounding down the quotient to the nearest integer. However, the `//` operator returns only the integer part of the result. This is particularly useful when you want to obtain the whole number of times one number can be evenly divided by another.
Modulo [ % ]
เคฏเคน เคเคชเคฐेเคเคฐ เคญाเค เคเคฐเคคा เคนै เคคเคฅा เคถेเคทเคซเคฒ เคฆेเคคा เคนै। เคเคชเคฐेเคเคฐ เคे เคฌाเคं เคธाเคเคก เคी เคตैเคฒ्เคฏू เคो เคฐाเคเค เคธाเคเคก เคी เคตैเคฒ्เคฏू เคธे เคญाเค เคिเคฏा เคाเคคा เคนै। เคชाเคฏเคฅเคจ เคฎें เคฎॉเคก्เคฏूเคฒो เคเคชเคฐेเคเคฐ (%) เคा เคเคชเคฏोเค เคถेเคทเคซเคฒ เค्เคाเคค เคเคฐเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै เคเคฌ เคเค เคธंเค्เคฏा เคो เคฆूเคธเคฐे เคธे เคตिเคญाเคिเคค เคिเคฏा เคाเคคा เคนै। เคฏเคน เคตिเคญाเคเคจ เคเคชเคฐेเคถเคจ เคเคฐเคจे เคे เคฌाเคฆ เคถेเคท เคो เคตाเคชเคธ เคเคฐ เคฆेเคคा เคนै। เคฏเคน เคเคชเคฐेเคเคฐ เคตिเคญिเคจ्เคจ เค เคจुเคช्เคฐเคฏोเคों เคฎें เคเคชเคฏोเคी เคนै, เคैเคธे เคตिเคญाเค्เคฏเคคा เคी เคांเค เคเคฐเคจा, เคฎाเคจों เคी เคเค เคถ्เคฐृंเคเคฒा เคे เคฎाเคง्เคฏเคฎ เคธे เคธाเคเคिเคฒ เคเคฒाเคจा, เคฏा เคฏเคน เคธुเคจिเคถ्เคिเคค เคเคฐเคจा เคि เคोเค เคฎाเคจ เคเค เคตिเคถिเคท्เค เคธीเคฎा เคे เคญीเคคเคฐ เคฐเคนเคคा เคนै। เคฎॉเคก्เคฏूเคฒो เคเคชเคฐेเคเคฐ เคเค เคช्เคฐोเค्เคฐाเคฎिंเค เคाเคฐ्เคฏों เคฎें เคเค เคฎूเคฒ्เคฏเคตाเคจ เคเคชเคเคฐเคฃ เคนै, เคिเคธเคฎें เคธเคฎ/เคตिเคทเคฎ เคธंเค्เคฏाเคं เคी เคांเค เคเคฐเคจा, เคिเคธी เคธเคฐเคฃी เคฎें เคคเคค्เคตों เคे เคฎाเคง्เคฏเคฎ เคธे เคธाเคเคिเคฒ เคเคฒाเคจा เคเคฐ เคฌเคนुเคค เคुเค เคถाเคฎिเคฒ เคนै।
This operator divides and returns the remainder. The value on the left side of the operator is divided by the value on the right side. The modulo operator (%) in Python is used to find the remainder when one number is divided by another. It returns the remainder after performing the division operation. This operator is useful in various applications, such as checking for divisibility, cycling through a range of values, or ensuring that a value stays within a specific range. The modulo operator is a valuable tool in many programming tasks, including checking even/odd numbers, cycling through elements in an array, and more.
Addition [ + ]
เคฏเคน เคเคชเคฐेเคเคฐ เคฆो เคธंเค्เคฏाเคं เคा เคฏोเค เคฆेเคคा เคนै। เคชाเคฏเคฅเคจ เคฎें เคเคกिเคถเคจ เคเคชเคฐेเคเคฐ เคो เคช्เคฒเคธ เคिเคน्เคจ (+) เคฆ्เคตाเคฐा เคฆเคฐ्เคถाเคฏा เคाเคคा เคนै। เคเคธเคा เคเคชเคฏोเค เคฆो เคฏा เคฆो เคธे เค เคงिเค เคธंเค्เคฏाเคं เคो เคเค เคธाเคฅ เคोเคก़เคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै। เคเคช เคชूเคฐ्เคฃांเค เคเคฐ เคซ़्เคฒोเคिंเค-เคชॉเคंเค เคธंเค्เคฏाเคं เคฆोเคจों เคे เคธाเคฅ เค ंเคเคเคฃिเคคीเคฏ เคธंเคाเคฒเคจ เคเคฐเคจे เคे เคฒिเค เค เคคिเคฐिเค्เคค เคเคชเคฐेเคเคฐ เคा เคเคชเคฏोเค เคเคฐ เคธเคเคคे เคนैं। เคเคธเคे เค เคคिเคฐिเค्เคค, เคเคช เคเคธเคा เคเคชเคฏोเค เคธ्เค्เคฐिंเค เคॉเคจ्เคธเคेเคจेเคถเคจ เคे เคฒिเค เคเคฐ เคธเคเคคे เคนैं, เคिเคธเคा เค เคฐ्เคฅ เคนै เคฆो เคฏा เคฆो เคธे เค เคงिเค เคธ्เค्เคฐिंเค्เคธ เคो เคเค เคธाเคฅ เคोเคก़เคจा।
This operator returns the sum of two numbers. The addition operator in Python is represented by the plus sign (+). It is used to add two or more numbers together. You can use the addition operator to perform arithmetic operations with both integers and floating-point numbers. Additionally, you can use it for string concatenation, which means combining two or more strings together.
Subtraction [ - ]
เคฏเคน เคเคชเคฐेเคเคฐ เคฆो เคธंเค्เคฏाเคं เคा เค ंเคคเคฐ เคฆेเคคा เคนै। เคชाเคฏเคฅเคจ เคฎें, เคเคाเคต เคเคชเคฐेเคเคฐ เคो เคนाเคเคซ़เคจ (-) เคฆ्เคตाเคฐा เคฆเคฐ्เคถाเคฏा เคाเคคा เคนै। เคเคธเคा เคเคชเคฏोเค เคฆाเคนिเคจी เคเคฐ เคे เคฎाเคจ เคो เคฌाเคฏीं เคเคฐ เคे เคฎाเคจ เคธे เคเคाเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै।
This operator returns the difference of two numbers. In Python, the subtraction operator is represented by the hyphen (-). It is used to subtract the value on the right-hand side from the value on the left-hand side.

Comments
Post a Comment