This, folks, is why global definition of variables can lead to your untimely demise.
Yeah you gotta scope dat shit.
No way the Ent-D rolled off the line with global vars for everything, was this before or after O’Brien transferred off the ship?
Exactly what I bring up when argumentative people show up with any of the inane food definitions “hot dog is sandwich” or “milkshake is soup” and what not.
But is corn grass?
“Pizza is an open-face sandwich” ~Madlad Lemmyor (lemmyite? Lemm? Lemmor? Just what do we call users of Lemmy anyways???) from a couple weeks ago
def hot(temp: int = 340):
return temp
That way Bev can define temp however she needs, but if Picard doesn’t specify, he gets his tea at a nice drinkable Kelvin temp.
Python is dynamically typed, so you could just go against the type hint like an animal. But yes, probably.