Читать книгу Introduction to Python Programming for Business and Social Science Applications - Frederick Kaefer - Страница 22

Python Insight

Оглавление

Python is case sensitive, which means it interprets uppercase letters (capitals) as different from lowercase letters. As a result, the code statement Print (“Hey, Taxi!”) will result in an error stating that the name “Print” is not defined. This case sensitivity applies to Python reserved words as well as variables and function names, which we will discuss and illustrate in the next chapter. This can sometimes be annoying for beginning Python programmers (but you will quickly adapt), but it greatly reduces the processing of the Python interpreter that would otherwise need to treat all the possible combinations of upper- and lowercase letters the same.

Introduction to Python Programming for Business and Social Science Applications

Подняться наверх