To make a varible do you always have to put my_


#1



Replace this line with your code.


#2

Short answer: No, that is just a way to make them stand out in lessons. As long as we do not use reserved words, we are free to write any name we wish.

Bear in mind that descriptive and semantic names are best since they help with self documentation. The more the code can tell us, the less we have to explain in the documentation.


#3

@tumblinggirl947
Have a read
http://stackoverflow.com/questions/159720/what-is-the-naming-convention-in-python-for-variable-and-function-names


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.