importre## strInput = "The Weekly Challenge" ## Example 1## strInput = " Hello World " ## Example 2strInput="Let's begin the fun"## Example 3strOutput=re.sub(r"\s+"," ",strInput).strip()arrOutput=[strLoopforstrLoopinstrOutput.split(" ")ifstrLoop]print(len(arrOutput[-1]))