One Line If Statement In Python Ternary Conditional Operator Python Array

One Line If Statement In Python Ternary Conditional Operator Python Array