Used Integer For Function Python Questions On While Loop