Update activity.py

elif ipv else if