# functions

Greet with Style

Greet a friend, but let whoever calls the function choose the greeting word — or leave it out for a friendly default! 👋

Finish greet_friend(name, greeting="Hello") so it returns "<greeting>, <name>!". If no greeting is given, it should default to "Hello". We'll call your function once without a greeting, and once with "Hi".

💡 need a hint?

func-greet-with-style.py🔒 given lines are locked — write your code in between
loading...