In Python,
Question 1:
# Modify the function so that it works according to the description below:
# This function returns a string constructed by appending every Nth letter of word, where N is the largest digit of 64487. You may safely assume that word is of type str and has more than 1 letter. If word is less than N characters long, the function returns an empty string.
# Jane's example: the largest digit for Jane is 5. So Jane's function should return a string that is constructed by appending every 5th letter of word.
# So, for Jane:
# question1('1234a1234b1234c1234d1234e')
# returns: 'abcde'
# question1('1234')
# returns: ''
# question1('****X*')
# returns: 'X'
def question1(word):
return ''
# SPECIAL NOTE:
# 1) Do not use Python lambdas
# 2) Do not use maps/filters