Q. Predict the output of the following code fragment ?


def func(message, num = 1):

    print (message * num)

func("Python")

func('Easy', 3)


Answer :-

Python
EasyEasyEasy

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post