Ruby While Syntax In Python Input Function Default