17 - Assignment Operators ( = += -= *= /= %= **= //= ) | Python Tutorials

preview_player
Показать описание
Learn how to mix arithmetic and bitwise operators with the assignment operator.

| Language
Python (.py)

| Code Example
Рекомендации по теме
Комментарии
Автор

Omgoodness, I was always confused about this. You explained it in such an excellent way, with the shifting of the variable from the right... amazing.

CoolGames
Автор

Thanks a bunch! learned something new.

TorIvanBoine
Автор

So basically any operator on the left of the = is to contain its output to the left. thank you!

throttletube
Автор

didn't know you could put * and stuff aswell

igalaxy
Автор

i use -= and it say invalid syntax and it show = are invalid syntax help!

gamecastzzz