Python Input From User Integer Rules