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 trial

Python

Lucas Taylor
Lucas Taylor
125 Points

Capitalization of Functions in Python.

While coding in Python will all functions be lower-cased (ex. "print") or will there be a time when they will be upper-cased? Why is this; is it because that's the way it was made or is there some importance to this?

Thanks in advance,

V/R Lucas

1 Answer

Steven Parker
Steven Parker
229,732 Points

Python, like most modern languages, is case-sensitive. An identifier spelled with a capital letter represents something entirely different than one spelled in lower case.

So yes, to be recognized, Python keywords must be used as they were designed.

Lucas Taylor
Lucas Taylor
125 Points

Thank you for your response!