Basic Python Programming
DOI link for Basic Python Programming
Basic Python Programming book
When learning any language, it is important to learn the terminologies, grammar, and syntax to be able to effectively communicate in that language. Similarly, Python programming language has its own syntax, rules, and commands. Unlike humans, computers are very particular about the kind of commands that they understand and process. The first step in learning Python is to learn to use these syntaxes and commands correctly. In this chapter, we will cover the basics of the Python programming language. We will walk the readers through common syntax, datatypes and the commonly used operators in each of the datatypes, and a variety of useful built-in data structures - such as lists, sets, and dictionaries. After the readers are familiarized with Python terminologies and syntax on operators, the chapter will then describe iterations with the help of loops, such as “while”, “if-else”, and “for loops”.