How Can I Use Conditional Statement In Python Mysql Stack Overflow

How Can I Use Conditional Statement In Python Mysql Stack Overflow