1.It’s traditional to name generic counter and loop variables i, j, or k. Normally, you want to create descriptive, clear variable names. Believe it or not, i, j, and k are clear to experienced programmers, who know when reading your code that you just need a quick, counter variable.
2. In some programming languages, constants are exactly that. They can’t be changed once they’re defined. That’s the safest way to create and use constants. In Python, though, there isn’t a simple way to create true constants of your own.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here