# Author: James Tam # Version: July 16, 2020 str1 = input("Enter a series of lower case alphabetic characters with a capital at the end: ") endString = False i = 0 while (endString == False): temp = str1[i] if ((temp < "a") or (temp > "z")): endString = True else: print(temp) i = i + 1 print("Done")