Update m3.py

if statement detected