Captain

Report a typo

Define a function that will add the word "captain" before the name of a person. The function should be named captain_adder, take one argument name, and print the string, i.e. it doesn't have to return anything. You don't need to call your function, only implement it. Also, you don't need to take input, use only the name variable that should be an argument of the function.

Sample Input:

Jack Sparrow

Sample Output:

captain Jack Sparrow

Write a program in Python 3
# declare your function here
___

Create a free account to access the full topic