You are viewing a single comment's thread. Return to all comments →
letters = {chr(index+97): index for index in range(26)}
def designerPdfViewer(h, word): heights = [h[letters[l]] for l in word] return max(heights)*len(heights)
Seems like cookies are disabled on this browser, please enable them to open this website
Designer PDF Viewer
You are viewing a single comment's thread. Return to all comments →
letters = {chr(index+97): index for index in range(26)}
def designerPdfViewer(h, word): heights = [h[letters[l]] for l in word] return max(heights)*len(heights)