How Can I Use Conditional Statement In Python Mysql

How Can I Use Conditional Statement In Python Mysql