Ruby While Syntax In Python Input Function Integer Numbers