Python Fundamentals

There is never one way to code. Some key are basic and will just need a line or two of code to tell Python what to do. Others can take up chunk of code to tell the interpreter how to act. It doesn’t necessarily matter what kind or length of code you’ll be working with, there are going to be parts (Python fundamentals) that are corresponding with all of them. Learning these fundamentals is the key to learning to code your own programs. When you see the word “interpreter”, we are referring to Python itself. When you download Python, you download all that you need, including the text editor where you write your code and Python will automatically explain everything you do.
                                
                                 
The Keywords in Python:
As many programming languages, Python has a position of keywords that are strictly reserved for the compiler. They can’t be used as identifiers. Using them as identifiers will result in errors. Here’s a list of keywords in the Python language.

·         false, class, finally,
·         none, continue, for,
·         true, def, from,
·         and, del, global,
·         as, elif, if,
·         assert, else, import,
·         except, in, raise,
·         is, return, with,
·         lambda, try, yield,
·         nonlocal, while, break,
·         not, or, pass

As you read this book you’ll come across these keywords. Keywords such as class, elif, for, while, if, raise and more.

  
                                  

No comments:

Post a Comment