How To Find Length Of String Using While Loop In Python