Learn how to use arithmetic operators and assignment operators in Python language. Arithmetic operators include plus, minus, multiplication, division etc.. We also learn to use += and -= assignment operators in Python for beginners in Hindi Urdu language.
Following lines of codes are covered in this Python lesson in Hindi Urdu language:
Arithmetic operators and Augmented assignment operator
print(9 + 10)
print(9 - 10)
print(9 * 10)
print(90 / 7)
print(90 // 7)
print(5 ** 3)
var_1 = 5
var_1 = var_1 + 3
var_1 += 4
print(var_1)
var_1 -= 2
print(var_1)
Watch also:
1. Python basics programming tutorial for beginners | Python print hello world code in Hindi Urdu - part 1 at • Python basics programming tutorial for beg... .
2. Print function in Python to display multiple lines | Python programming tutorial in Hindi Urdu at • Print function in Python to display multip...
3. Introduction to Variables in Python | Python programming tutorial in Hindi Urdu at • Introduction to Variables in Python | Pyth...
4. Concatenation of strings and variables in PYTHON | Concatenating and type function in Python at • Concatenation of strings and variables in ...
5. Input function in Python with string function and concatenation | Python for beginners in Hindi Urdu at • Input function in Python with string funct...
6. Input function in Python with str and int functions for calculations | Python in Hindi Urdu at • Input function in Python with str and int ...
7. Python tutorial in Hindi Urdu | Convert cm to inches & Kgs to pounds in Python programming lesson 7 at • Python tutorial in Hindi Urdu | Convert cm...
8. Python string slicing and string indexes | Python tutorial for beginners in Hindi Urdu lesson 8 at • Python string slicing and string indexes |...
9. Formatted string in Python F-Strings in Python for string formatting for beginners in Hindi Urdu at • Formatted string in Python F-Strings in Py...
Full Python course in Hindi Urdu playlist at • Python programming course in Hindi Urdu .