Your own function
Lesson 6 of 19 in Coddy's Into the Past || Complete Beginner for Python Strings course.
Create you own function just like the last one
Challenge
EasyI want you to now create you own function. You are going to repeat the last lesson exactly
Create a function called greeting
and have it returns the string hi
Take your time, if you need to look back at the last lesson do so.
Remember you need 4 parts to a function!
Try it yourself
# Write your code below