Name Greeting!

Published by Nomove in

Create a function that takes a name and returns a greeting in the form of a string.

Examples

HelloName("Gerald") ➞ "Hello Gerald!"

HelloName("Tiffany") ➞ "Hello Tiffany!"

HelloName("Ed") ➞ "Hello Ed!"

Notes

  • The input is always a name (as string).
  • Don't forget the exclamation mark!
  • If you get stuck on a challenge, find help in the Resources tab.
  • If you're really stuck, unlock solutions in the Solutions tab.
Watch a quick demo on how Edabit works.