
Embark on a pirate-themed journey to learn python from scratch, covering basics, variables, strings, and data structures. Master object-oriented programming and libraries like pandas, numpy, and matplotlib through hands-on projects.
Take time to watch all sections before rating the course, and use the ask me later option if unsure; early, intermediate ratings can mislead Udemy's scoring and instructors.
Maximize your Udemy learning by using video settings, bookmarks, and markers. Explore course resources and Q&A, and clearly label questions for faster, targeted help.
Discover how Google Colab lets you write Python in notebooks with text and code cells, run on Google's servers, and save everything in Google Drive.
Explore markdown in Google Colab by using code and text cells to structure notebooks. Format headings, bold, italic, links, images, lists, dividers, and inline or display math with dollars.
Meet Paratilla, a young pirate-in-training joining a Python course to learn lines of code with his parrot. Take his first steps toward becoming a skilled Python developer.
Learn how to define variables in Python, assign values with =, and manage integers and strings while following naming conventions and restrictions for variable names.
Explore Python's reserved words with the keyword library and its .kw list, and learn how import loads only needed libraries and uses keywords like false, true, None, and, or, not.
Master declaring multiple variables in a single line in Python, assigning age and name simultaneously, while respecting naming rules and reserved words for concise, scalable assignments.
Explore how to operate with numeric variables in Python, using arithmetic and augmented assignment like x += 2, and understand integers, division, modulo, and powers.
Learn how to use Python comments to document code, comment out lines, and prevent execution, with guidance on when to comment and why not to overdo it.
Explore how the import function brings modules into Python, using aliasing and selective imports to access functions and variables while managing memory and avoiding name conflicts.
Explore the two basic numeric types in Python—integers and floats—learn how to check types, cast between them, and understand truncation when converting floats to integers.
Explore how Python handles arithmetic between integers and floats: addition, subtraction, multiplication, division, modulo, and exponentiation, with emphasis on integer division and using floats to guarantee decimals.
Master the python order of arithmetic operations, from parentheses and exponents to multiplication, division, and addition or subtraction, following left-to-right rules. See how parentheses change results and quotients become decimals.
Explore complex numbers as pairs of real and imaginary parts, with the imaginary unit i, and perform addition, subtraction, multiplication, and division on the complex plane.
Learn how complex numbers are represented in tuple form, binomial form, and polar form, including conjugates, modulus, and argument, and how Python handles them.
The complex plane visualizes complex numbers as points on the real and imaginary axes, showing modulus, argument, and conjugate symmetry, illustrated with 2+5i, 8, and 7i.
Explore how Python handles complex numbers, using j for the imaginary unit, and perform real and imaginary extraction, arithmetic operations, conjugates, modulus, and polar and rect conversions with cmath.
Explore strings as ordered sequences of characters and declare Python string variables using single or double quotes. Embed quotes and avoid accents to prevent encoding issues with UTF-8.
Explore how string literals use escape characters to represent quotes, backslashes, line breaks, and tabs, and learn to store text in variables and print with single or double quotes.
Learn how to concatenate strings in Python using the plus operator, and manage spaces to avoid double spaces, with a consistent joining approach.
Repeat strings in Python with multiplication to automate repetition and avoid manual writing, noting that the order of factors doesn't change the result and spaces prevent sticking.
Master the print function to display strings and numbers without quotes, and learn concatenation with plus or comma separation for readable output.
Learn to remove a user-specified word from a string in Python using find and len. Build the resulting substring and fix spacing for a clean output.
Explore the str function to convert variables to strings, concatenate with strings, use the format method for interpolation, and handle line breaks, tabs, and escape characters in Python prints.
Discover how to obtain substrings in Python by indexing with brackets, using 0-based positions, negative indices for end counting, and slice notation with colons for ranges.
Explore Python's string methods for transforming and searching text, including lower, upper, count, capitalize, title, swapcase, replace, split, strip, find, index, and rindex.
Explore string functions, counting characters with length (including spaces) and using zero-based indexing. Convert strings to numbers with int and float, and gather user input with input prompts.
Learn to build the 'happy birthday' song by concatenating and repeating strings, inserting line breaks with line feed, and storing the result in a song variable.
Practice personalizing the happy birthday song in Python by prompting for a recipient, then modify the song using string replace or concatenation to produce a customized version.
Practice combining input() and print() across five sections that apply uppercase, the title method, selective lowercase/uppercase, and the replace method for the first two letters.
Learn to build a Python program that asks for birth year and current year, converts input to integers, computes age by subtraction, and prints a formatted result.
Explore decision operators in Python by using boolean variables to control code flow, including true and false values, boolean algebra, and operations such as negations, conjunctions, and disjunctions.
Explore truth tables for boolean variables, mastering negation, conjunction, and disjunction. See how these unary and binary operators define true and false values in Python and boolean algebra.
Explore how Python implements boolean logic using negation, conjunction, and disjunction, with true and false variables, truth tables, and practical demonstrations.
Compare numbers and strings with Python's comparison operators to yield true or false, including >, >=, <, <=, ==, !=, and learn the difference between assignment and equality operators.
Combine boolean comparisons with and, or, and not to build complex conditions, such as age limits for an interview and numeric or string ordering concepts.
Explore how Python compares strings using dictionary (alphabetical) order, evaluating characters left to right to decide which word comes first, with examples like Majorca, Madrid, and Dubai.
Explore boolean string methods like startsWith, endsWith, isAlnum, isAlpha, isDigit, isSpace, isLower, isUpper, and isTitle on Mallorca. These true/false checks help validate input and enforce proper casing and formatting.
Learn to use the if decision operator in Python, mastering colon and indentation rules, avoiding common errors, and applying conditions like age checks to control code execution.
Explore Python string handling by checking if a string contains spaces with the in operator, counting white spaces with count, and printing the result, while generalizing to other characters.
Master the else operator in Python, using it with if conditions and proper indentation. See examples like age checks for a pirate crew and the importance of consistent four-space indentation.
Determine if a number is even or odd by applying modulus 2 and the ternary operator, with step-by-step examples showing 9 as odd and 12 as even.
Master multi-condition logic in Python by using elif, else, and nested if alternatives to evaluate multiple criteria and define a default case.
Explain the Python ternary operator, a one-line if-else that assigns a value based on a condition. Use age examples to print legal or underage messages in Spain.
Write a Python program to solve first-degree equations a x + b = 0 by reading a and b, ensuring a is not zero, and computing x = -b/a.
Determine if a point (x, y) lies in the unit square by verifying x and y are between 0 and 1 inclusive, using float input and clear output.
Explore nested if-else logic in Python, using and/or conditions, print statements, format strings, and input to tailor messages by age and name.
Determine whether a user-entered year is a leap year by applying the rules: divisible by 4, not by 100 unless divisible by 400, using an integer input.
Explore the while loop to automate tasks by executing a loop body while a condition stays true, including initialization, increment, and handling infinite loops.
Learn to count vowels in a string with a while loop, using an index, a count variable, and a lowercase conversion to handle uppercase vowels, returning the total.
Use the break command inside a while loop to stop the Fibonacci sequence after the 20th term. Learn to manage previous and current values with a temp variable.
Leverage a while loop to locate the first number in the user-specified interval divisible by 2, 3, and 5; break when found, else report none.
Understand how the Python while loop behaves like a repeating if, with an else run when the condition ends. Apply a countdown from 10 to 0 using a counter.
Practice the while else pattern by entering numbers (floats) until you input 0, accumulating a running total and displaying the final sum after the loop.
Shift the uppercase alphabet in a circular fashion by N positions using a while loop, with chr and ord converting between characters and ASCII codes.
Master the Python for loop to iterate over a collection, ending after the final element. Apply the colon and indentation syntax to process each item, e.g., characters in a string.
Reverse a string with a for loop by concatenating each character to the front and printing the reversed result, demonstrated with the string 'mom' and other examples.
Learn how the Python range function powers for loops by using start, stop, and step to count up or down, with default values and inclusive/exclusive behavior.
Learn to compute the sum of an arithmetic progression using a for loop by inputting the first term, difference, and limit, with practical examples.
Explain how the Python continue command skips the current iteration. Prints numbers 0 to 100 except those divisible by 2 or 5, using modulo.
Use a for loop to print a string while skipping a user-specified letter, normalizing to lowercase and using continue to omit matches.
Learn to use a for loop with break and continue to remove vowels from a string, count a user-specified letter, and stop after it appears more than n times.
Master nested loops in Python by creating 1–10 multiplication tables with an outer and inner for loop, using ranges, and exploring break and continue inside the loops.
Explore the Python list data structure: a mutable, heterogeneous collection stored in brackets, supporting zero-based indexing, and measured by len for dynamic length.
Explore Python lists by mastering indices, element access, slicing with colons, and operations like append and insert, including negative indexing and the list index out of range error.
Practice adding elements to a Python list by keyboard input. Ask for the list length n, build an empty list l, append n integers, and print the final list.
Learn to loop through lists in Python using range(len(names)) for indices and for name in names for item-based iteration, with print statements illustrating each element.
Explore how to concatenate and repeat lists in Python using the plus and asterisk operators, including examples with L1, L2, and creating empty lists.
Master essential Python list methods such as count, extend, index, pop, remove, reverse, and sort, and understand how iterable objects like lists and ranges support these operations.
Delete a user-specified item from a list of characters in Python, printing the original and updated lists; handle duplicates by iterating and removing all matching elements.
Sort ten user-entered numbers stored in a list using the sort method with a reverse boolean to display ascending or descending order.
Discover how to convert any iterable into a list in Python using the list function, turning range, dictionaries, tuples, and sets into actionable lists with full list methods.
Convert the odd numbers from 0 to 30 into a list and display each value with its index using a for loop and a format method in Python.
Explore how to create and access nested lists in Python, including lists of lists with strings and numbers, and prepare for working with matrices.
Explore matrices in Python as nested lists, viewing them as m by n tables of rows and columns with zero-based indexing, including addition and multiplication with basic display.
Create a 4x4 Python matrix manually by initializing an empty list, filling it with 16 user-entered floats via nested loops, and printing a neatly formatted matrix.
In this exercise, learn to add two user-provided matrices by their dimensions, construct matrices a and b, compute their sum, and display the result clearly.
Learn to compute the product of two user-provided matrices in Python by building A and B, validating dimensions, multiplying with nested loops, and displaying the result.
Master numpy and its matrix operations by creating empty, zeros, and ones matrices, using empty_like and zeros_like, and performing addition and dot-product multiplication on matrix data.
Learn how to create and fill an n by m matrix in numpy using user-provided dimensions, input elements one by one with nested loops, then print the resulting matrix A.
Learn to sum two user-provided numpy matrices with matching dimensions and print the result using elementwise addition.
Learn to multiply matrices with numpy by taking user-provided matrices and dimensions, constructing A and B, and using the dot method to compute A dot B, with a worked example.
Discover how dictionaries in Python use key-value pairs, are unordered and mutable, require unique keys, and are accessed by key rather than position, with values that can be various types.
Learn how to access dictionary elements by keys, handle missing keys, and inspect keys and values while mutating a heterogeneous, user-filled data structure.
Create a client dictionary from keyboard input, storing name and surnames as strings, age as int, DNI as string, and total as float, then display the dictionary.
Apply the len function to a dictionary to count its three key–value pairs, and inspect inner lists by accessing keys such as fruit, price, and color.
Explore how dictionaries work with loops to traverse keys and values, using for key in dict and dict.items to unpack pairs.
Explore how dictionaries and lists intermix to model heterogeneous data and JSON structures, including dictionaries containing lists and lists of dictionaries, for practical Python data handling.
Build a grades tracker using a five-subject dictionary (math, English, history, science, IT) with three grades per subject, gather input, and compute averages with the sum function.
Discover Python dictionary methods—clear, copy, fromkeys, get, pop, setdefault, and update—with practical examples for missing keys, default values, and merging dictionaries.
Delete a user-specified key from a vowel dictionary using the pop method and display the updated dictionary.
Showcases building dictionaries with dict() by converting iterables into key-value pairs, using lists of two-element items, and mixing dict with variables for versatile dictionary creation.
Learn how to collect eight digits, form the DNI number, compute modulo 23 to map to a letter via a dictionary, and print the DNI dictionary.
Learn to build a dictionary of character appearances from an input string by converting to lowercase, ignoring spaces, and counting occurrences with uppercase keys for each distinct character.
Learn how sets provide an unordered, non-duplicated data structure in Python, constructible from lists, tuples, or braces, and why they are not mutable and ignore order.
Explore subset and superset concepts in Python, using standards like <=, <, and is-superset, with examples of A, B, and X to distinguish proper and non-subset relationships.
Explain core set operations—union, intersection, difference, and symmetric difference—using Python syntax (|, &, -, union, intersection, difference, symmetric_difference) and Venn diagrams to show A and B.
Discover the elements of a set, how add and update mutate an otherwise immutable set, test membership with in, and compare remove and discard for missing elements.
Explore how to determine a set's size in Python using the len function, noting that duplicates are removed and the final count reflects the number of unique elements.
Explore loops and sets in Python, using the for loop to iterate over set elements, noting that sets have no guaranteed order while using the familiar for syntax.
Explore additional set methods in Python, including pop for random extraction and clear to empty a set. Learn why sets have no inherent order.
Learn to extract unique lowercase letters from a sentence by storing them in a set, ignoring spaces, and printing the resulting letters with a practical phrase example.
Learn to find the common letters between two input words by building two sets from their letters, normalizing to lowercase, and computing their intersection in Python.
Solve an exercise that asks the user for four integers to define two intervals, build sets from a to b and c to d, and compute their symmetric difference.
Apply the sieve of Eratosthenes to generate primes from 2 to n, using a set and a boolean list to cross out multiples in Python.
Learn to find the maximum element of a set without using the max function by iterating through each element, updating a stored max, and printing the result.
The Pirate Adventure That Has Already Taught Thousands to Code in Udemy — Now in English!
Welcome to our Complete Python 3 Course — From A to Z, the most engaging and practical way to learn one of the most in-demand programming languages in the world.
Whether you’re starting from scratch or looking to master advanced topics, this course is designed to take you step by step into the world of Python programming — no prior experience required!
Why Learn Python?
Python has become an essential tool for Data Scientists, Machine Learning engineers, AI specialists, and Web Developers alike. With the increasing demand for data-driven professionals, learning Python can open doors to high-paying jobs — many Data Scientists earn over $100,000 per year as employees or freelancers.
If you want to become one of them, Python is your best starting point.
What Makes This Course Unique?
We’ve crafted this course to be the most complete Python learning experience on Udemy, while keeping it simple and fun. From beginners who have never written a line of code, to those who want to deepen their understanding of Python — this course is for you!
With over 300 video lessons, 50+ coding challenges, and 50+ hours of content, you’ll gain solid programming skills that you can apply to real-world scenarios.
What you’ll learn includes:
Python 3 from absolute basics to advanced functions
File handling (TXT, CSV, JSON) and working with data
Data structures: lists, dictionaries, sets, tuples
Functions, visibility scopes, arguments, and return values
Object-Oriented Programming (OOP), inheritance, and polymorphism
Exception handling and debugging techniques
Modules: built-in, custom-made, and external libraries
Introduction to Data Science tools like pandas, numpy, math, matplotlib, seaborn, and os
Learn by Playing: The Pyrates Adventure
To make your journey unforgettable, we’ve designed a unique learning experience — The Pyrates Adventure. You’ll join Pyratilla on a quest to become the most feared pirate on the seas.
Manage your ship’s finances, recruit a crew, defeat your enemies — and most importantly, code everything in Python 3!
We guarantee you’ve never learned programming this way before!
Learn Without Installation Hassles
No need to worry about your computer’s performance or software setup. We use Google Colab, a free online platform by Google that lets you write and run Python code directly from your browser — whether you’re on Linux, macOS, or Windows.
Just log in with a free Gmail account and you’re ready to start!
Course Topics at a Glance:
What is Python and why it's so popular for Data Science
Basics of the Bash command line
Running Python code in Google Colab
Data types: integers, floats, strings
Lists, dictionaries, tuples, and sets
Data formatting and printing
Functions and return values
Scope and visibility
Universal functions
Error handling and debugging
Modules and external libraries
Object-Oriented Programming (OOP)
File input/output operations
Advanced Python methods
Data analysis and visualization with pandas, numpy, matplotlib, seaborn
File handling with csv and os modules
What You’ll Get
Lifetime access to over 300 lessons
Downloadable notebooks for each class
Quizzes, coding challenges, and a mega final project
Practical examples for real-world scenarios
A fun and engaging learning experience
Access from any device, anytime, anywhere
30-Day Money-Back Guarantee
Still unsure? Try it risk-free with Udemy’s 30-day money-back guarantee. If you're not satisfied, you’ll get a full refund — and you can keep the notebooks as a thank-you for trying the course.
What Are You Waiting For?
Learn Python in the most fun and effective way. Improve your career prospects and join thousands of students who have already started their programming journey.
Enroll now and become a Python developer from A to Z!