Tags
Asked 3 years ago
13 Aug 2021
Views 317
Milton

Milton posted

Can you use += in Python ?

Can you use += in Python ?
web-api

web-api
answered Aug 8 '21 00:00

you can use += in Python
this is how you can use +=

i=10
i+=1
print(i)

i+=1 means i=i+1
i+=2 means i=i+2
Post Answer