We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
a = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
letters_height=[]
word=list(word)
for i in range(len(word)):
for j in range(len(a)):
if word[i]==a[j]:
letters_height.append(h[j])
return max(letters_height)*len(word)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Join us
Create a HackerRank account
Be part of a 26 million-strong community of developers
Please signup or login in order to view this challenge
Designer PDF Viewer
You are viewing a single comment's thread. Return to all comments →
def designerPdfViewer(h, word):