#Author: James Tam #Version: October 4, 2024 activity = input("What are you doing with dog now: ") print("We are taking the dog for a '", end="") #*You can access the invidual characters in a string via numeric index which # is specified in square brackets. #*Indices range from zero (first character in a string) to the length of the string # minus one. #*The 'len' function can take a string as an argument and it returns the length # of the sring e.g. len("bath") returns 4 #* e.g. The indices for the string: "bath" are 0,1,2,3 i = 0 ch = activity[i] aLength = len(activity) while(i