[Python] Python All Character Check[Python] Python All Character Check

🎮

Game Chatroom

Week 10, 2026

file = open("words.txt") words = file.read().split('\n') file.close() for word in words: if len(word) == 1: continue b = True for c in word: if not c in ['a', 'b', 'c', 'd', 'e', 'f']: b = False break if b: print(word)