Python Math Floor Ceiling Fan