Python 3 While Statement In Arduino