I highly recommend using `let` in such examples (if some other examples use def without describing vars, they should be fixed, too).