# # ps7pr1.py - Problem Set 7, Problem 1 # # String-method puzzles # s1 = 'Three little kittens lost their mittens' s2 = 'Star light, star bright' # Example puzzle (puzzle 0): # Count all occurrences of the letter T (both lower- and upper-case) in s1. answer0 = s1.lower().count('t') print('answer0 =', answer0)