Exercise 1: Greet the person!
In this challenge, you will create a method that takes a name as an input and appends and prepends text with the name to greet the person.
Problem Statement
Write a method greet
that takes a name, prepends "Hello "
, and appends an
exclamation mark "!"
: ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy