Ruby While Syntax In Python Input Function Int