
Learn the key differences between Python 3 and Python 2, why Python 3 is recommended, and how to install Python 3 on Windows or Mac with official docs.
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
Learn the five core Python data types—strings, numbers, lists, tuples, and dictionaries—and how to create, access, and distinguish mutable lists from immutable tuples and key-value dictionaries.
Master strings in Python by understanding single and double quotes and escape characters like backslash and newline. Upcoming lessons cover string manipulation.
Explore string manipulation in Python by treating strings as objects and using methods like upper, lower, capitalize, title, and swap case to transform text, index, slice, and measure length.
Explore basic math in python with print statements for addition, subtraction, multiplication, division, exponents, and modulus; learn order of operations, parentheses, and using variables.
Explore tuples in Python and compare them to lists: tuples are immutable, created with parentheses, support indexing and slicing, and can be combined into new tuples for efficiency.
Discover dictionaries in Python: create and print a dict with curly braces, and access by keys. Update, delete, and add entries; compare to hashes in other languages.
Build fizz buzz by iterating numbers 1 to 100, using modulus to print fizz, buzz, or fizz buzz, with while loops and if-elif-else logic.
Build your own functions, call them with arguments, and see how they run inside your program, with examples like the print function.
Explore how returning a value from a function lets you store it in a variable, print it, or use it with other operations like the upper function, lists, or hashes.
Explore Python modules, import external code, and create a custom namer module. Learn how to save as .py, import, and call a function to modularize code.
Finish the course with a solid grasp of Python fundamentals, including classes and object-oriented programming, and plan to explore Python 3 documentation and modules for continued learning.
Download and install the Sublime Text editor and the Git Bash terminal to set up Ruby development. Windows users will install Ruby later, while macOS and Linux already include Ruby.
Learn how variables act as buckets to store data in Ruby, using underscores for multiword names and lowercase conventions, while case signals strings, numbers, or classes.
Sometimes Git Bash has issues with gets... to get around them, run your program like this:
winpty ruby program_name.rb
Master Ruby math basics by exploring integers vs floats, standard operators, modulus, and exponentiation, and learn how decimal precision affects division outcomes.
Master if/else conditionals and comparison operators to test outcomes and drive program flow. Apply these basics to numbers and strings in Ruby with practical examples.
Build a fizz buzz program from 1 to 100 using loops and conditional logic to print fizz, buzz, or fizz buzz when numbers are divisible by 3, 5, or both.
Define and call Ruby methods to run code blocks, pass parameters like names or numbers, and control program flow by placing methods at the top and invoking them when needed.
Explore methods part 2 by learning to pass multiple arguments, use variables, return strings, and print results with puts, giving flexible output control.
Implement a side length getter in a square class to return the instance variable representing the side length, enabling object oriented access to square properties.
Learn to define a class with initialize, getter, and setter methods to manage side length, using the equal sign convention and a new side_length value.
Discover how Ruby's attr_accessor automatically creates getter and setter methods, simplifying class design by handling initialize parameters like side length and area.
Explore a bonus lecture promoting a lifetime membership to 60+ Python, Ruby, and other programming courses, with a $49 one-time discount, certificates, and new course updates.
In this course we'll learn the Python 3 programming language and the Ruby programming language from an absolute Beginner level all the way to Advanced in no time at all!
This course is aimed at the absolute beginner, you don't need any coding experience at all!
We'll start out by setting downloading and installing Python and the Sublime Text Editor - both for free. This will give you all the tools you need to start writing and running Python code.
For Ruby, we'll use a free online development environment (or you can download Ruby yourself onto your computer).
Then, we'll dive into very basic computer science concepts. Things like:
After that, we'll move into more intermediate topics like:
Finally we'll finish up with more advanced topics like:
We'll learn all of those things for both Python and Ruby. We'll start with Python, and then move over to Ruby in the second half of the course.
Python and Ruby are two of the greatest programming languages to learn, and learning has never been this easy!
I'll see you on the inside!
-John Elder