[Tutor] stuck newbie [descriptive variable names]

Gregor Lingl glingl@aon.at
Mon, 19 Aug 2002 10:57:21 +0200


Danny Yoo schrieb:

>So something like:
>
>###
>    home_wins = input("Enter home teams no. of home wins: ")
>    home_draws = input("Enter home teams no. of home draws: ")
>    home_losses = input("Enter home teams no. of home losses: ")
>###
>
>which is a little longer to type, admittedly, but is a little easier to
>read as well.
>
And a lot easier to understand ...

Gregor