
Discover why Python is easy to learn and essential for data science and machine learning, with TensorFlow, numerical computation, scientific Python, and IPython notebooks for interactive coding.
Learn what keywords are in Python, reserved words with special meaning, and how their numbers have grown across versions, with examples like def, import, and lambda.
Identify Python identifiers by rules: names start with a letter or underscore, may contain letters, digits, and underscores, but cannot start with a digit or use keywords like def.
Explore how to annotate Python code with comments to improve readability, using the hash for single-line comments and triple quotes for multi-line comments that are not executed by the interpreter.
Learn what a statement is in Python, including single-line and multi-line statements, using backslashes, parentheses, and semicolons to combine multiple statements, with examples.
Explain how Python indentation defines blocks, contrast with curly-brace languages like C++ and Java, and emphasize using spaces over tabs in loops and printing.
Explore how variables store values in memory, with Python inferring types automatically and requiring no prior declaration. Learn identifier rules, including allowed characters, underscores, and restrictions on starting with digits.
Learn single and multiple variable assignments in Python, from simple one-to-one labels like a = 10 and b = 5.5 to packing multiple values in a single line.
Explore Python data types, including integers, floats, and strings, learn how to store values like age, height, and name, and print and check their types with type.
Explore how Python uses arithmetic, comparison, and logical operators to perform calculations and make comparisons. See examples of addition, division, modulo, floor division, and boolean logic.
Explore conditional statements in Python using if blocks to decide between going to a restaurant or cooking at home based on money, with variables and print statements.
Learn how Python for loops use range to repeat actions, reducing code repetition. See end-exclusion and indentation in practice with the example print statement I love the stats.
Master storing data with Python lists, from indexing to access family data, and performing append, extend, remove, del, and pop operations.
Learn how to store multiple family names with lists in Python, print and update them with append and extend, and use tuples for fixed data, plus index access and deletion.
Identify unique restaurant names from a city list using a Python set, then add new entries with the add operation to update the set.
Explore using Python sets to obtain unique items from a list, remove duplicates, and add new elements like Pizza Hut, noting that sets are unordered.
Learn the Building Blocks of Python for Absolute Beginners
Free Beginner Course going over the fundamentals of Python programming.
In this free, brief course we'll cover all the fundamentals of building python scripts. We'll go through everything you need to know and understand in Python (and we'll do it quick too.) In this one hour course we'll cover more topics than what many other courses cover in multiple hours. We focus on understanding with examples and scenarios rather than all the technical use cases. Once you have a working knowledge of all the components, all the technical use cases come easy.