Update competition_rank.py

isinstance > type