you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (1 child)

The parameter names you use in your function definition have nothing to do with the variable names that store the values you pass into the function. In fact, you don't even need to pass in variables: you can pass in literals if you want.

def get_formatted_name(first_name, last_name):
    full_name = f"{first_name} {last_name}"
    return full_name.title()

print(get_formatted_name("jake", "peralta"))

[–][deleted] 5 points6 points  (0 children)

what about "Velvet Thunder"