Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

What are Augmented Assignment Operators in python

# Augmented Assignment Operators are used to replace those statements 
# where binary operator takes two operands 


# Addition
a = 23
b = 3

# You can write a = a+b but this is more efficient

a += b

Source by www.codesansar.com #
 
PREVIOUS NEXT
Tagged: #What #Augmented #Assignment #Operators #python
ADD COMMENT
Topic
Name
3+4 =