Python Shorthandf If
If Statement in One Line
If you have only one statement to execute, you can put it on the same line as the if statement.
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.
If you have only one statement to execute, you can put it on the same line as the if statement.