<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def func2(q1, q2):
 """ to demonstrate debugging on exception """


    a = q1/q2
    
    if q2 == 5:
        z = 100
        IPS() # start embedded ipython shell in the local scope
        # -> explore global namespace

    
    return a