Recently Updated Pages
List operations in Python
Another data type we discussed previously is the list.Lists are useful because they allow you to ...
Strings and the security analyst
The ability to work with strings is important in the cybersecurity profession. Previously, you we...
String indices and slices
In security, there are a variety of reasons we might need to search through a string. F...
String operations
Knowing how to work with the string data in security is important. For example, you mig...
Welcome to module 3
As a security analyst,you'll work with a lot of data.Being able to develop solutions formanaging ...
Glossary terms from module 2
Terms and definitions from Course 7, Module 2 Argument (Python): The data brought into a functio...
Wrap-up; Reference guide: Python concepts from module 2
Great work on making it this far in the Python course!You've put in a lot of work and effort towa...
Dorsa: Use Python efficiently on a cybersecurity team
Hi, my name is Dorsa and I'm a security engineer.What I love the most about my job is that I get ...
Ensure proper syntax and readability in Python
Previously, you were introduced to the PEP 8 style guide and its stylistic guidelines for program...
Code readability
Welcome back!One of the advantages to programming in Python is that it's a very readable language...
Import modules and libraries in Python
Previously, you explored libraries and modules. You learned that a module is a Python file that c...
Modules and libraries
Hello again!Previously, we learned about built-in functions in Python.Built-in functions come sta...
Activity: Define and call a function
Introduction As a security analyst, when you're writing out Python code to automate a certai...
Work with built-in functions
Previously, you explored built-in functions in Python, including print(), type(), max(), and sort...
Explore built-in functions
Now that we know how to create our own functions, let's also explore a few of Python's built-in f...
Functions and variables
Previously, you focused on working with multiple parameters and arguments in functions and return...
Return statements
We previously learned how we can pass arguments into a function.We can do more than pass informat...
Use parameters in functions
Previously, we defined and called our first function.It didn't require any information from outsi...
Create a basic function
Let's start our exploration of user-defined functions by creating and then running a very simple ...
Introduction to functions
As the complexity of our programs grow, it's also likely that we'll reuse the same lines of code....