Аннотация
Before we get started with more of our machine learning, we need to understand some of the basic parts that come with the Python coding language. This is a great coding language to work with because it is simple and easy to use. Yet it still has a lot of power behind it. All the great features that come with Python, it is the perfect choice when working on machine learning.Let’s take a look at some of the basics that come with the Python coding language.Python KeywordsFirst, we need to take a look at these important keywords in the Python language. Like with what you will find in other coding languages there is a list of keywords in Python that are meant to tell your text editor what to do. These keywords are reserved, and you should only use them for their intended purposes if you want to be able to avoid issues with your code writing. They are basically the commands that will tell your compiler how to behave and they remain reserved so that you can execute the code without a lot of issues in the process.Naming Identifiers in Your CodeWhen you are working with Python, it is important to follow the right rules when you are naming the different parts of your code. Several of these parts are known as identifiers. These can go by various names like variables, classes, entities, and functions. There are a few rules that you must follow when naming these identifiers, but the rules are going to be the same no matter which identifier you are working with. Some of the rules that identifiers need to follow when naming identifiers include:• You can use both uppercase and lowercase letters in the name of your identifier. You can also work with underscore symbols and numbers as well. Any combination of the above characters works as well, just make sure that inside the name, there aren’t any spaces. So, do not write out something like ‘My first program’. You would write it as ‘Myfirstprogram’.• Your identifier can’t start out with a number. You can use the number anywhere else that you want in the name, but it can’t be the first character of your program. If you do put a number as the first character, you are going to get an error signal when you have the compiler try to do this one. You can write something like ‘one program’, but you can’t name the identifier something like ‘1program’.• The name of the identifier can’t have one of the Python keywords in it. If you add in the keyword to the name, you are going to cause confusion in the compiler, and you won’t get the program to work.The rule for naming your identifier doesn’t have to be difficult. As long as you follow these simple rules, you can give your identifier any name that you would like. If you do happen to forget one of the rules for naming an identifier, the compiler is going to notice, and you will end up with a syntax error. You simply need to go back through and fix it and this error will go away.

![Находясь на переднем крае программирования, книга «Программист-прагматик. Путь от подмастерья к мастеру» абстрагируется от всевозрастающей специализации и... Программист-прагматик [Путь от подмастерья к мастеру]](https://www.rulit.me/data/programs/images/programmist-pragmatik-put-ot-podmasterya-k-masteru_563230.jpg)

![Uncover the secrets of SQL and start building better relational databases today!
This fun and friendly guide will help you demystify database management systems so you can create more powerful databases and access information with ease. Updated for the latest SQL functionality, SQL For Dummies, 8th... SQL For Dummies® [8th Edition]](https://www.rulit.me/data/programs/images/sql-for-dummies0-8th-edition_480636.jpg)
![A new edition of a bestseller covers the latest advances in web development!
HTML5 and CSS3 are essential tools for creating dynamic websites and boast updates and enhanced features that can make your websites even more effective and unique. This friendly, all-in-one guide covers everything you... HTML5 and CSS3 All-in-One For Dummies® [3rd Edition]](https://www.rulit.me/data/programs/images/html5-and-css3-all-in-one-for-dummies0-3rd-edition_481775.jpg)
![Few books on software project management have been as influential and timeless as The Mythical Man-Month. With a blend of software engineering facts and thought-provoking opinions, Fred Brooks offers insight for anyone managing complex projects. These essays draw from his experience as project... The Mythical Man-Month: Essays on Software Engineering [Anniversary Edition]](https://www.rulit.me/data/programs/images/the-mythical-man-month-essays-on-software-engineering-annive_492687.jpg)

Комментарии к книге "Learn Python Programming"