Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMelih YILDIZ
135 PointsWhy can't I use uppercase?
What is the difference between new_variable and newVariable?
1 Answer
Ken Alger
Treehouse TeacherMelih;
There is nothing explicitly preventing you from using upper case in your variable names. However, you will find that in the Python community it is far more common to use names with underscores such as new_variable
instead of newVariable
. From a programming standpoint, however, it doesn't matter.
Your development team may not appreciate it very much, however, to not use a standard naming convention.
Post back with further questions.
Ken
Melih YILDIZ
135 PointsMelih YILDIZ
135 PointsThanks for the answer!