I saw a video that used a colon in an unusual way in Python, but replicating the operation in Jupyter, I can't figure out what is happening:
x=0
i: x=9
print(i)
print(x)
I get:
9
0
What is actually happening here with i and x, and what is the underlying operation here?