ALPHABET = "abcdefghijklmnop" TITLE = [ "Masked Max Headroom Hackers Talk Satellites Next On List", "Chameleon Inducted into Virus Hall of Fame Tequila Shots Served", "Hot Secret Service Agent Makes First Ladies Swoon at Kennedy Memorial", "Neuralyzer Stock Soars as Storm Area Fifty One Event Looms", "Goose Iceman Become Popular Aliases Maverick Not so Much", "Just In Hawaii Reports Pineapple Shortage after Pizza Houses Raise Demand", "Internet Divided over Alleged Alien Picture Is It Blue or Green" ] for t in TITLE: WORDS = t.split() ANS = "" for w in WORDS: ANS += chr(len(w) + ord('a') - 1) print(ANS)