minus-squareIronKrill@lemmy.catoProgrammer Humor@programming.dev•Python needs an actual default functionlinkfedilinkarrow-up4·1 month agoAnd scope. Variables declared in the if can be read everywhere, variables declared in the function are limited to that function. linkfedilink
And scope. Variables declared in the if can be read everywhere, variables declared in the function are limited to that function.