What is an argument in python?

The term ‘argument’ here is not defined? What’s an argument in the context of Python?

2 Likes

An argument is simply a value provided to a function when you call it. Once you learn functions, I would search videos that talk about parameters and arguments (becoming comfortable with these terms earlier will help later). It will make more sense when you learn functions.

Essentially, just like the examples states : “we can pass a variable as an argument to…”
So string1 is an argument in this lesson.

Also questions that have to do definitions are really easy to find online. There are a lot of great resources!

5 Likes