Skip to main content

Unit 7 · Borrowing Code · Lesson 57 of 57

It's wraps :(

It's wraps :(

You did it. You finished Intro to Python!

At the start of this course, you didn't know what Python was. (Okay, maybe you knew it was a snake.)

Now you can:

  • Store data in variables, and convert between types
  • Write your own functions, and actually understand return
  • Make decisions with if, elif and else
  • Repeat things with while and for loops, and survive bad input with try and except
  • Keep track of things with lists and dictionaries
  • Build your own classes, with methods, state and inheritance
  • Borrow code with import, and know why secrets beats random for security
  • Write and run a Python program on a real Linux machine

Along the way, you also brute forced a PIN, built an account lockout, caught leaked passwords, and generated a password that's actually secure. That's not just Python, that's cybersecurity.

Where to go from here

The best way to get better at Python is to build stuff. Something small, something dumb, something you actually want. A dice game, a quiz, a program that roasts your friends' passwords. You'll get stuck, you'll read tracebacks, you'll look things up, and that's exactly how every programmer learned.

One last reminder: everything security related you did in this course (brute forcing, password lists), only ever do on stuff you own or have written permission to test.

One last quiz

For old times' sake.

Thnks fr the mmrs! Keep at it, my fellow CyberAcadian!

// Karl and the CyberAcad Team

Knowledge check

A few questions on what the lesson covered. Create a free account to do this part.

Do this lesson for real

With a free account you get the terminals, challenges and checks that go with the lessons in Intro to Python, and your progress is saved as you go. CyberAcad is a 501(c)(3) nonprofit, so there is nothing to pay.