
Meet Sangean, an experienced teacher with a background in mechatronics, robotics, and computer vision, who teaches computational thinking in Python using Arduino, 3D printing, and programming for students.
Learn computational thinking in Python by tackling ordered challenges that build from print statements and variables to modular functions, practicing stepwise problem solving, and sharing elegant solutions.
Visit python.org to download the latest Python 3 installer and the Python 2 option, then run the executable to install. Customize installation on the C drive for easier addons management.
Learn year 8 algebra with Python, using plus, minus, multiply, divide, and exponents. Master Python's order of operations and brackets, then practice the rest in the solution video.
Explore algebraic expression evaluation in computational thinking, resolving sign rules and bracket usage, spotting common errors, and confirming results such as minus 19 and 46.
Create a Python calculator that prompts for a number and prints its square, cube, and square root in sentence form, using string concatenation, type conversion, and the math.sqrt function.
Import the math library to access square root, and compute the square, cube, and square root of a user input number, then print results using string concatenation.
Discover a pythonic, student-supplied solution to the calculator challenge that uses three functions and a main function, reads input in prompts, and formats results for squares and square roots.
Explore an advanced python solution to a calculator challenge, using a try/except inside a forever loop to validate input and print the square and its root with formatted output.
Develop a Python factorization program that takes user input, uses the modulo operation to find divisors, and prints all factors when the remainder is zero.
Explore a Python factorization solution by taking an integer input, looping from 1 to n, testing divisors with remainders, and printing the factors.
Explore an advanced python factorization solution: implement a function returning the list of divisors (including the number itself) and robust input handling via a forever loop and value error protection.
Learn to generate prime numbers in python by testing numbers for exactly two factors, then append primes to a list and print the results under a thousand.
Explore a brute-force prime number generator that lists all primes up to 10,000, explains primality via factor counts, and introduces plans to optimize the algorithm in the next video.
Improve a slow brute force prime number generator by integrating a timer to measure performance and iteratively optimize the code to generate primes up to ten thousand.
Optimize prime number generation in Python by replacing brute force factor counting with a boolean prime test, achieving up to 40x speedups.
Explore an optimized prime number algorithm using a sieve approach, marking primes and eliminating multiples to build a prime list, with time and performance insights.
Explore Armstrong numbers by decomposing integers, raising digits to the power of the number's length, and verifying sums in Python, including generating all Armstrong numbers up to 10000.
Develop an Armstrong number generator by testing numbers up to ten thousand, converting digits to strings, raising each digit to the power of the digit count, and validating.
Learn to draw pyramids in Python by using a center function to center stars, pad strings, and loop through ranges, then build a reusable pyramid function with a specified height.
Apply loop-based Python coding to draw a centered pyramid using string multiplication and a custom draw_pyramid function, testing with varying heights.
Explore drawing a window with loops and prints using a two-input function, where width comes from the first input and height from the second, enabling any dimension window.
Explore the Python turtle graphics library and its turtle on a center-origin cartesian plane, using forward, backward, left, and right, with pen up or down, color, and begin_fill and end_fill.
Practice drawing a circle, square, and triangle with Python's turtle library, filling a yellow turtle on a black canvas with white, and position shapes at equal distances.
Explore solving geometric shapes with turtle by reusing a common pattern: pen down, move and fill, then pen up to draw a square, triangle, and circle using loops.
Design and implement a turtle graphics polygon function by looping sides and using side length, turning it into a versatile tool that draws polygons and approximates circles with many sides.
Discover how to implement a polygon function in Python to draw triangles, squares, and circles with turtle graphics, using side length, number of sides, and 360-degree turns.
Draw a turtle star animation in a starlit sky. Use random library and a star function in a loop to place stars with varying sizes and shapes, exploring 144-degree angles.
Create a starlit sky by building a function to draw stars with varying side lengths and sizes, randomizing positions, and generating a thousand stars.
Explore an advanced star drawing algorithm that uses turn angles of 144 and 72 to create five to nine-sided stars, scale sizes for variation, and sketch around a circle.
Create a cloudy sky in Python using turtle graphics, with random cloud placements and optional time control, building unique, realistic clouds with semi-circles.
Learn to draw clouds by scattering random white dots using turtle graphics, varying size and position, and implement a cloud function to populate the sky with multiple clouds.
Develop an advanced cloud drawing algorithm in Python by using semicircles to form a closed cloud, implementing a home check near the origin, and adding random sizes for unique clouds.
Learn to count the number of e's in a sentence by building a Python function that iterates through the string with loops and the for character in string approach.
Counts the e's in a string by converting it to lowercase and encapsulating the logic in a reusable function that handles string manipulation and escape characters.
Count word occurrences in a formatted string using Python's native functions, addressing case and punctuation. Lowercase, split, and remove punctuation to improve accuracy and reveal true word counts.
Learn a Python solution for word counting and text formatting by removing punctuation, converting to lower case, splitting into words, and counting with list count.
Explore a text-based capitalization correction challenge in Python, converting strings to lists to fix sentence starts, capitalize mis-started letters, and rejoin the text for a working spell checker task.
This lecture demonstrates a Python approach to capitalizing the first letter of each sentence in a list-based paragraph, using full stops and a reusable function.
Load a text file into a string, convert to lower-case, and split it into words to enable the word counting challenge, then sort by alphabetical order or frequency.
Develop a step-by-step Python solution to rank words by frequency: lowercase, remove punctuation, count words, build a dictionary, sort by counts, and print the most popular words from the text.
Explore recursion by solving factorials recursively and visually with a turtle spiral, showing how solutions depend on smaller instances and end when the distance reaches one.
Explore recursive drawing by rendering a firm spiral with a turtle graphics program, tweaking one variable to adjust angle and distance.
Explore recursive spiral generation that creates fern-like curls by adjusting angle, distance, and recursion depth, using exponential growth patterns to produce evolving spirals.
Recreate the Koch fractal through recursion using turtle graphics, starting from a straight line and iteratively turning 60, 120, and 60 degrees to build a complex, order-based pattern.
Explore the recursive Koch fractal in python, starting from a straight line, applying bumps and 60-degree turns, with one-third substitutions toward the Koch snowflake.
Transform a Koch fractal into the Koch snowflake using the guiding triangle as the final challenge of computational thinking in Python. Watch the solutions video for a walkthrough.
Learn to implement the Koch snowflake using turtle graphics, turning 120 degrees around a triangle for order 0 and 1, and generate a light-show of random snowflakes.
What is Python and why is it important?
Python is an interpreted text based general purpose programming language, which has a wonderfully simplified syntax, dynamic typing and an awesome open source community constantly creating more and more amazing libraries and modules. This makes python an awesome tool for someone just getting into programming as well as someone with serious ambitions in fields like data analysis web development or the Internet of Things. Python has become a staple in data science, allowing data analysts and other professionals to use the language to conduct complex statistical calculations and problems.
What is special about this course?
Quite simply this is the ultimate second programming course for the everyman!. The approach taken demonstrates some theoretical concepts and then asks the student to solve an open ended problem. Much like lifting heavy weights tends to make your muscles bigger, solving hard problems improves your thinking!! Perhaps more importantly these types of problems prompt creativity and create original solutions. Completing this course with an understanding of multiple solutions for each problem will endow the student with a conceptual mastery of Python and thus prepare them to use Python and a professional setting and create real world applications!!