In [1]:
# Created by ngundotra 12-11-16
from random import shuffle

def get_best_name_in_history(name, male=False):
    '''
    This function takes an all *lower case* name and churns out lots of permutations of the name,
    paired with a few superlatives.
    
    Total # of printed names = len(name) * len(superlatives).
    
    This code is meant to be dense and confusing! Please send your questions to noah@gundotra.org so
    he can explain.
    '''
    gender = "female"
    if male:
        gender = "male"
        
    superlatives = ["Best", "Most Amazing", "Greatest", "Strongest", "Sexiest", "Worthiest", "Most Blesséd", 
                    "Most Admired", "Best Dressed", "Uniquest", "Smartest", "Most Mexican", "Most Indian", "Nerdiest",
                   "Craziest", "Most Desired", "Most Seductive", "Trillest", "Dankest", "Most Memest", "Most Kermit",
                   "One and Only", "Prophesized", "Most Deadly", "Best Looking", "Best Smelling"]
    
    print("Top %d names for %s warriors in every culture ever across the globe over all of human history:" 
          % (len(name)*len(superlatives), gender))

    # There are 26 superlatives

    for i in range(len(name)):
        shuffle(superlatives)
        for adj in superlatives:
            print("The " + adj, end=' ')
            for letter in name:
                if letter == name[i]:
                    letter = chr(ord(letter) - 32)
                print(letter, end='')
            print()
    # python uses indentation instead of bracketing to denote blocks of code
    # so this function declaration ends after this line

get_best_name_in_history("noah", True)


Top 104 names for male warriors in every culture ever across the globe over all of human history:
The Craziest Noah
The Prophesized Noah
The Nerdiest Noah
The Most Mexican Noah
The Most Seductive Noah
The Greatest Noah
The Most Blesséd Noah
The Best Smelling Noah
The Smartest Noah
The Worthiest Noah
The Most Deadly Noah
The One and Only Noah
The Trillest Noah
The Most Desired Noah
The Sexiest Noah
The Most Kermit Noah
The Best Looking Noah
The Best Dressed Noah
The Dankest Noah
The Most Memest Noah
The Best Noah
The Uniquest Noah
The Strongest Noah
The Most Admired Noah
The Most Amazing Noah
The Most Indian Noah
The One and Only nOah
The Dankest nOah
The Most Memest nOah
The Most Amazing nOah
The Most Admired nOah
The Nerdiest nOah
The Greatest nOah
The Best Dressed nOah
The Most Mexican nOah
The Smartest nOah
The Trillest nOah
The Most Desired nOah
The Prophesized nOah
The Most Seductive nOah
The Best Smelling nOah
The Most Deadly nOah
The Worthiest nOah
The Most Kermit nOah
The Most Blesséd nOah
The Craziest nOah
The Best Looking nOah
The Sexiest nOah
The Strongest nOah
The Uniquest nOah
The Best nOah
The Most Indian nOah
The Nerdiest noAh
The Most Deadly noAh
The Most Amazing noAh
The Sexiest noAh
The Most Memest noAh
The Smartest noAh
The Most Indian noAh
The Most Blesséd noAh
The Prophesized noAh
The Greatest noAh
The Best Dressed noAh
The Best noAh
The Dankest noAh
The Worthiest noAh
The Most Mexican noAh
The Best Looking noAh
The Most Seductive noAh
The Trillest noAh
The Best Smelling noAh
The Most Desired noAh
The One and Only noAh
The Strongest noAh
The Craziest noAh
The Most Admired noAh
The Most Kermit noAh
The Uniquest noAh
The Most Blesséd noaH
The Sexiest noaH
The Greatest noaH
The Uniquest noaH
The Best Looking noaH
The Most Kermit noaH
The Trillest noaH
The Craziest noaH
The Most Deadly noaH
The Most Indian noaH
The Best noaH
The Prophesized noaH
The Most Admired noaH
The One and Only noaH
The Most Desired noaH
The Strongest noaH
The Dankest noaH
The Smartest noaH
The Most Seductive noaH
The Best Smelling noaH
The Worthiest noaH
The Nerdiest noaH
The Best Dressed noaH
The Most Memest noaH
The Most Amazing noaH
The Most Mexican noaH