def createfailsafe(miles): if miles =='mile': return miles elif miles == 'chris': | ScratchStats