Updated April 30, 2024

Pangram Solutions to the New York Times’ Spelling Bee Puzzle

Below is a list of pangram solutions to the New York Times’ Spelling Bee puzzle.

The program that I used to find the solutions is also shown below. I ran the program in Google Colab. The code was written by ChatGPT 4, not by me. ChatGPT 4 also taught me how to use Google Colab.

The file “wordlistcomplete.txt” referenced in the code is a list of 198,422 English words I compiled several years ago from various word lists on the web. Many of the words on that list and among the pangram solutions below are obscure and would not be allowed as puzzle solutions by the NYT.

The list below excludes words containing S and words containing both E and R, as Spelling Bee excludes those letter combinations from its puzzles. Many thanks to the participants on the Spelling Bee Forum who pointed this out to me.

People who enjoy the NYT’s LetterBoxed puzzle might also be interested in this list of one-word solutions.

Program written by ChatGPT 4

# Import necessary libraries
from google.colab import drive

# Mount Google Drive
drive.mount('/content/drive')

# Define the function to check if a word has exactly 7 unique letters, does not contain 's',
# and does not contain both 'e' and 'r'
def is_valid_word(word):
    unique_letters = set(word)
    has_seven_unique = len(unique_letters) == 7
    contains_no_s = 's' not in unique_letters
    contains_not_both_e_and_r = not ('e' in unique_letters and 'r' in unique_letters)
    return has_seven_unique and contains_no_s and contains_not_both_e_and_r

# Specify the path to the file within your Google Drive
file_path = '/content/drive/My Drive/Colab Notebooks/wordlistcomplete.txt'

# Read the file's contents
with open(file_path, 'r') as f:
    words = f.read().splitlines()

# Filter the words that meet the criteria
valid_words = [word for word in words if is_valid_word(word)]

# Specify the path for the output file
output_path = '/content/drive/My Drive/Colab Notebooks/filtered_words.txt'

# Save the valid words to a text file
with open(output_path, 'w') as f:
    for word in valid_words:
        f.write(f"{word}\n")

Output of the above program