Learn Python the Hard Way, 5th Edition (2023-2024)
The 5th Edition of Learn Python the Hard Way released in 2023-2024. **All new for Python 3 and 2023-2024!**
This is part of a product bundle.
Module The Basics of Programming
Learning the basic programming concepts.
- 18: Names, Variables, Code, FunctionsBig title, right? I am about to introduce you to the function! Dum dum dah! Every programmer will go on and on about functions and all the different ideas about how they work and what they do, but I will give you the simplest explanation you can use right now.
- 19: Functions and VariablesYou're now going to combine functions with what you know of variables from previous exercises.
- 20: Functions and FilesRemember your checklist for functions, then do this exercise paying close attention to how functions and files can work together to make useful stuff.
- 21: Functions Can Return SomethingYou have been using the
=
character to name variables and set them to numbers or strings. - 22: Strings, Bytes, and Character EncodingsTo do this exercise you'll need to download a text file that I've written named `languages.
- 23: Introductory ListsMost programming languages have some way to store data inside the computer.
- 24: Introductory DictionariesIn this exercise we'll use the same data from the previous exercise on
list
s and use it to learn aboutDictionaries
ordict
s. - 25: Dictionaries and FunctionsIn this exercise we're going to do something fun by combining functions with
dict
s. - 26: Dictionaries and ModulesIn this exercise you're going to explore how the
dict
works with modules. - 27: The 5 Simple Rules to the Game of CodeThis exercise is intended to be studied periodically while you study the next exercises.
- 28: Memorizing LogicToday is the day you start learning about logic.
- 29: Boolean PracticeThe logic combinations you learned from the last exercise are called "Boolean" logic expressions.
- 30: What IfHere is the next script of Python you will enter, which introduces you to the
if-statement
. - 31: Else and IfIn the last exercise you worked out some
if-statements
and then tried to guess what they are and how they work. - 32: Making DecisionsIn the first half of this book you mostly just printed out things called functions, but everything was basically in a straight line.
- 33: Loops and ListsYou should now be able to do some programs that are much more interesting.
- 34: While LoopsNow to totally blow your mind with a new loop, the
while-loop
. - 35: Branches and FunctionsYou have learned
if-statements
, functions, and lists. - 36: Designing and DebuggingNow that you know
if-statements
, I'm going to give you some rules forfor-loops
andwhile-loops
that will keep you out of trouble. - 37: Symbol ReviewIt's time to review the symbols and Python words you know and to try to pick up a few more for the next few lessons.
Register for Learn Python the Hard Way, 5th Edition (2023-2024)
Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.