Python Check If String Only Contains Numbers