Which one is the out of the following code ?
def foo(arg): arg += '3' arg *= 3 return arg print(foo('pythoneasy'))
arg += '3' will produce pythoneasy3arg *= 3 will be "pythoneasy3" * 3So the output will be pythoneasy3pythoneasy3pythoneasy3
arg += '3'
arg *= 3
"pythoneasy3" * 3
Comment here: