Hi there,
Can someone enlighten me on the diff between print and return when defining function. I get the same output for both, albeit with the apostrophe. Thanks alot
Can someone enlighten me on the diff between print and return when defining function. I get the same output for both, albeit with the apostrophe. Thanks alot
def yell_it(phrase): print(phrase) yell_it("Hi")
def yell_it(phrase): return phrase yell_it("Hi")