# Lines 4
".__module__."3 hello
NoteGreet users
Usage
Function()
NoteGreets the user by name.
Usage
say_hello(name)Arguments
name-
A string containing the name of the person to greet.
Value
A character string with a greeting message.
Examples
say_hello("Alice")
# "Hello, Alice!"# Lines 16-18
say_hello <- function(name) {
paste0("Hello, ", name, "!")
}
NoteBids farewell to the user by name.
Usage
say_goodbye(name)Arguments
name-
A string containing the name of the person to bid farewell.
Value
A character string with a goodbye message.
Examples
say_goodbye("Alice")
# "Goodbye, Alice!"# Lines 31-33
say_goodbye <- function(name) {
paste0("Goodbye, ", name, "!")
}