• Re: Variable Declarations (Posting On Python-List Prohibited)

    From Lawrence D'Oliveiro@21:1/5 to Greg Ewing on Mon Jan 15 08:28:56 2024
    On Mon, 15 Jan 2024 20:37:35 +1300, Greg Ewing wrote:

    You seem to be surprised by the fact that Python doesn't require
    variables to be declared separately from their use.

    In fact, the only declarations in Python have to do with variables, or at
    least their scoping: the “nonlocal” and “global” constructs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)