
Install Python from python.org and then install PyCharm community edition as your IDE. Use the editor's syntax highlighting and built-in error notifications to write and test Python code.
Open PyCharm, create a new project named Examples in the desktop Python_projects folder, add a Python file, write a Hello World program, run it, and review exit codes and PEP-8.
Learn how variables act as named memory locations and how to assign and reassign values in Python, using snake_case or camelCase for clear names.
Explore common Python data types, including floats with decimal points like 3.14, integers such as 7, and booleans with true or false values.
Learn Python comments with #, follow PEP-8, and use expressions with math operators like +, -, /, *, **, //, and % plus assignment operators and the order of operations.
Use the print function to display messages, numbers, variables, and expressions in Python, with examples such as hello world, 3.14159, 24601, and True.
Demonstrates floating point approximation errors in Python due to binary representation, and shows two fixes: scale numbers to integers to avoid errors, or apply round to control decimals.
Learn how strings represent sequences of characters. Create them with single or double quotes, access by index (starting at zero), slice, and concatenate without changing originals.
Learn the type() and str() functions in Python for absolute beginners. Use type() to identify data types and str() to convert values to strings, with simple examples.
Explore common escape sequences for strings in Python, including tab, newline, single and double quote, and backslash, with examples showing how to format multi-line text and embed quotes.
Learn how the input function prompts with a string message, stores user input in a variable, and prints the concatenated sentence your name is, showing input always returns a string.
Explore how the int() and float() functions convert user input strings into numeric values, handle errors with non-numeric strings, and process floats and expressions.
Learn to define and call Python functions to reuse code, pass parameters and arguments, use default values, and return results, avoiding code duplication and ensuring clean style per PEP 8.
Explore how to import modules in Python using generic, function, and universal imports, and call functions like randint from the random module, including generating random floats.
Explore global and local scope in Python, showing how variables inside functions remain local while global variables stay accessible, and how scopes are created and destroyed.
Explore flow control concepts with flow charts, then implement Python flow control via six comparison operators and three boolean operators, learning true and false outcomes.
Master if statements by learning the syntax: if, a condition, a colon, and four-space indentation, then print the message the vegetable is corn when the user inputs corn.
Master nested if and else statements in Python with a two-condition loan example. It checks GPA >= 3.7 and acceptance to an approved institution using a nested if and indentation.
Learn how the elif statement handles multiple conditions for clean control in Python. See PyCharm example that prints messages for negative, zero, between one and 100, and greater than 100.
Explore truthy and falsey values in Python with PyCharm examples, showing that non-empty strings are truthy and empty strings are falsey, and how to use bool for clearer conditions.
Learn the while loop syntax—while, a boolean condition, a colon, and indentation—and how code runs while the condition is true, avoiding infinite loops to form a closed loop.
Learn to use for loops in Python to iterate over an iterable, such as the string house, using for, a variable, in, and a colon, with four-space indentation.
Explore the range() function in python, returning number sequences for for loops with one, two, or three arguments. Learn start, stop, and step, including negative steps and practical examples.
Explore Python string methods that perform operations like upper and lower, isupper and islower, join and split, and startswith and endswith to support case handling, title casing, and string manipulation.
Explore common Python string methods, including rjust, ljust, and center for padding; strip, rstrip, and lstrip for trimming; and replace for substitution, with practical examples.
Learn to use the len function to measure a string's length, including spaces and punctuation, with examples showing 4 for 'tree' and 17 for a concatenated string.
Learn to format strings in Python with the built-in format method, using curly braces as placeholders instead of concatenation, and pass name, degree, job, and experience for readable results.
Learn how lists store multiple values in an ordered sequence, use the list function to convert iterables, and check membership with in and not in.
Learn how to access items by index in strings and lists, including zero-based indexing, use negative indexing to reach from the end, and perform list slicing and reassignments.
Learn how to delete items from lists using del and the remove method, and how to add, insert, sort, index, and pop items with practical examples.
compare lists and strings as ordered sequences, showing index access, slicing, length, and iteration with for loops and while loops, while highlighting that lists are mutable and strings are immutable.
Learn how to use dictionaries in Python to store key-value pairs, access values by keys, use different key data types, and check key existence with in and not in operators.
Learn to work with dictionaries in Python by using keys, values, items, and the get method to access data, iterate with for loops, and print key-value pairs.
Explore Python dictionary methods: fromkeys creates dicts from an iterable with a value or none; pop removes a key and returns its value; popitem removes the last pair (random pre-3.7).
Use clear to empty a dictionary, and copy to create an independent duplicate. Apply update to merge or overwrite keys from another dictionary, noting that update does not remove items.
Learn to use the dict() function to create dictionaries, including empty ones and key-value pairs, with keys limited to letters, underscores, and numbers, no spaces around the equals sign.
Explore tuples, an immutable data type in parentheses, created by tuple function. Access by indexing and slicing, and choose tuples for memory efficiency or as dictionary keys.
Discover how to loop through tuples with for and while, measure length, and slice with step to extract elements in forward and backward order using stride.
Explore nested tuples and use the count and index methods to access items, count occurrences, and handle value errors when a value is not present.
Learn Python, a programming language with a wide variety of well-paying jobs in many fields, including data science and web development.
It is relatively easy to learn when compared to pretty much any other programming language since most of the time, using Python to do something will take less lines of code than with another programming language.
In this course, you will be taught the fundamentals of Python through video lectures, quizzes, review exercises, and programming challenges.