Define the function

Write some Python code that defines a function called print_header(msg). This should
output the value provided by the ‘msg’ parameter to the screen (prefixed by five asterisk
‘*****’) characters. Can some answer this please for me?

def print_header(msg):
    print("*****" + msg)

Here you go

Thank you abhinav. Can you please define me some more questions please?

Just visit this link: GitHub - itzanuragsinghania/Python-One-Stop: Python-One-Stop is the 1st of the One-Stop Solution's Series where you will find each and everything related to python.

1 Like