x:5, what is this statement?

Viewed 64

What does the following statement do in python?

x:5

Here the x is not even defined. The above statement runs without any error. Why does this work and what does it do?

I'm running the code on Python 3.8.3.

0 Answers
Related