Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.
Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.
For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.
It makes sense to start learning by reading and watching videos about fundamentals and how things work.
Data Science and Machine Learning - 16 wks
Full-Stack Software Developer - 16w
Search from all Lessons
Curated list of small interactive and incremental exercises you can take to get better at any coding skill.
Curated section of projects to build while learning with simple instructions, videos, solutions, and more.
Guides on different topics related to the technologies that we teach in our courses
Javier Leyva Seiglie
The standard way to comment a line of code on python will be with the
As you may already be thinking, if by using the
#char we comment one line, we can spawn them to comment more lines? and the answer is yes! You can do just that.
Docstring is the way to go if you want to comment a block of code on Python, since we are missing the
docstringindentation is still important!
If you thought that you could scape indentation because you're commenting, you're wrong. Indentantion is still pretty much needed to prevent errors.
This example will throw
IndentationError: expected an indented block becase we're not following the indentantion rule.
If we apply the correct indentation to our code, then we'll receive the expected output of
5 and happily commented the code we wanted.
IDE makes our life as developers much easier with keyboard shortcuts and there's one that helps us to comment multiple lines with a single command
Note: These commands will place a
# char on the beggining of all the lines selected to comment, will not insert a
You can check more of our articles at 4Geeks to learn more or solve issues with you coding. Hope you enjoy the reading and keep on the Geek side!