Update Prob27.py

Removed another trivial redundancy.