Make Sure String Is Not Empty Python Function Example With A Loop