
print("hello")


def greeting(msg):
    print(msg)

if __name__=='__main__':
    greeting("hello")

Add function to print a message
Add function to print a message

  
- print("hello")
+ def greeting(msg):
+     print(msg)
  
+ if __name__=='__main__':
+     greeting("hello")
+ 
Add function to print a message
## Code Before:

print("hello")

## Instruction:
Add function to print a message
## Code After:

def greeting(msg):
    print(msg)

if __name__=='__main__':
    greeting("hello")
