Side Effects - CS50P Shorts
CS50 · 6:52
A function’s output is not only its return value: a side effect is any other change that happens while the function runs. This short walkthrough uses a Python machine.py demo to show two side effects—printing to the t...