Update main.py

Didn't need to explicitly check the value of has_won.