Skip to content

Instantly share code, notes, and snippets.

@fritzfrancisco
Last active August 11, 2024 08:50
Show Gist options
  • Save fritzfrancisco/2f342e5e460267cfdc41fa9a8a5a6ded to your computer and use it in GitHub Desktop.
Save fritzfrancisco/2f342e5e460267cfdc41fa9a8a5a6ded to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
def create_response():
'''Create polited and humble response to reviewer suggestions'''
a = ['y', 'u', 'e', 'n', 'f', ' ', '?', 'a', 'p', ' ', 'r', 's', 'd', 'u', 'o', 't', 'i', ' ', 'c', 'u', 'g', 'k', 'i']
b = [4, 17, 2, 12, 8, 3, 21, 0, 18, 7, 1, 15, 20, 6, 5, 16, 19, 14, 10, 9, 13, 11, 12]
out = ''.join([x for _,x in sorted(zip(b,a))])
return out
if __name__ == '__main__':
resp = create_response()
print(resp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment