Statements or Strings?

I’m currently studying Python and am having a little trouble differentiating between the givens terms. My question is are “strings” and “statements” essentially the same thing? Or is the statement defines what the string does? Also I’m having trouble differentiating between arguments and parameters. Are they the same thing? Interchangeable?

A statement can be any line of code, a string is a type of variable.

string_variable = "Hello World"

The above is a statement where you create a string object and assign it the name string_variable

Argument vs Parameter depends on if you’re talking about the function itself or the values you’re feeding the function

def function(x)
    return

function("string")

x is the parameter, "string" is an argument for function.

1 Like

Thank you, that makes much more sense now!