Update 10countrepeated.py

fixed