Naming conventions for Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Naming conventions for Python?

Cause it's time for this small project, can anyone tell me the naming conventions of python. For eg; in Java a variable is named in camelCase letters (myVar). Your answer is appreciated.

22nd Aug 2016, 3:02 PM
Surya Deep Mishra
Surya Deep Mishra - avatar
1 Answer
+ 1
The only characters that are allowed for variable names are letters, numbers and underscores. A name has always to start with a letter. And Python differs between A and a ...
22nd Aug 2016, 5:02 PM
Amarie