# does the filename end with .txt? ok = name.____('.txt')
Answer: endswith (also accepted: endswith, endswith(), endsWith)