Skip to main content

All Questions

1 vote
3 answers
5k views

How and why do we have underscores in variable naming

If I look in python code and sometimes maybe also in C codes, there is often two variables with the same name except for the underscore. For example two variables variable1 data; variable2 _data; Why ...
Niklas Rosencrantz's user avatar