Python program for word guessing game | Software | Crax

Welcome To Crax.Pro Forum!

Check our new Marketplace at Crax.Shop

   Login! SignUp Now!
  • We are in solidarity with our brothers and sisters in Palestine. Free Palestine. To learn more visit this Page

  • Crax.Pro domain has been taken down!

    Alternatives: Craxpro.io | Craxpro.com

Python program for word guessing game

Python program for word guessing game

LV
0
 

m3uZael

Member
Joined
Jan 25, 2024
Threads
11
Likes
0
Awards
2
Credits
935©
Cash
0$
Python:
import random
words = ('which', 'there', 'their', 'about', 'would', 'these', 'other', 'words', 'could', 'write', 'first', 'water', 'after', 'where', 'right', 'think', 'three', 'years', 'place', 'sound', 'great', 'again', 'still', 'every', 'small', 'found', 'those', 'never', 'under', 'might', 'while', 'house', 'world', 'files', 'oxide', 'pains', 'photo', 'rival', 'flats', 'syrup', 'rodeo', 'sands', 'moose', 'pints', 'curly', 'comic', 'cloak', 'onion', 'clams', 'scrap', 'didst', 'couch', 'codes', 'fails', 'ounce', 'lodge', 'greet', 'gypsy', 'utter', 'paved', 'zones', 'fours', 'alley', 'tiles', 'bless', 'crest', 'elder', 'kills', 'yeast', 'erect', 'bugle', 'medal', 'roles', 'hound', 'snail', 'alter', 'ankle', 'relay', 'loops', 'zeros', 'bites', 'modes', 'debts', 'realm', 'glove', 'rayon', 'swims', 'poked', 'stray', 'lifts', 'maker', 'lumps', 'graze', 'dread', 'barns', 'docks', 'masts', 'pours', 'wharf', 'curse', 'plump', 'robes', 'seeks', 'cedar', 'curls', 'jolly', 'myths', 'cages', 'gloom', 'locks', 'pedal', 'beets', 'seeps', 'denim', 'putty', 'guppy', 'leaky', 'dusky', 'filth', 'oboes', 'spans', 'fowls', 'adorn', 'glaze', 'haunt', 'dares', 'obeys', 'bakes', 'abyss', 'smelt', 'gangs', 'aches', 'trawl', 'claps', 'undid', 'spicy', 'hoist', 'fades', 'vicar', 'acorn', 'pussy', 'gruff', 'musty', 'tarts', 'snuff', 'hunch', 'truce', 'tweed', 'dryer', 'loser', 'sheaf', 'moles', 'lapse', 'tawny', 'vexed', 'autos', 'wager', 'domes', 'sheen', 'clang', 'spade', 'sowed', 'broil', 'slyly', 'studs', 'grunt', 'donor', 'slugs', 'aspen', 'homer', 'croak', 'tithe', 'halts', 'avert', 'havoc', 'hogan', 'glint', 'ruddy', 'jeeps', 'flaky', 'ladle', 'taunt', 'snore', 'fines', 'props', 'prune', 'pesos', 'radii', 'pokes', 'tiled', 'daisy', 'heron', 'villa', 'farce', 'binds', 'cites', 'fixes', 'jerks', 'livid', 'waked', 'inked', 'booms', 'chews', 'licks', 'hyena', 'scoff', 'lusty', 'sonic', 'smith', 'usher', 'tucks', 'vigil', 'molts', 'sects', 'spars', 'dumps', 'scaly', 'wisps', 'sores', 'mince', 'panda', 'flier', 'axles', 'plied', 'booby', 'patio', 'rabbi', 'petal', 'polyp', 'tints', 'grate', 'troll', 'tolls', 'relic', 'phony', 'bleat', 'flaws', 'flake', 'snags', 'aptly', 'drawl', 'ulcer', 'soapy', 'bossy', 'monks', 'crags', 'caged', 'twang', 'diner', 'taped', 'cadet', 'grids', 'spawn', 'guile', 'noose', 'mores', 'girth', 'slimy', 'aides', 'spasm', 'burrs', 'alibi', 'lymph', 'saucy', 'muggy', 'liter', 'joked', 'goofy', 'exams', 'enact', 'stork', 'lured', 'toxic', 'omens', 'nears', 'covet', 'wrung', 'forum', 'venom', 'moody', 'alder', 'sassy', 'flair', 'guild', 'prays', 'wrens', 'hauls', 'stave', 'tilts', 'pecks', 'stomp', 'gales', 'tempt', 'capes', 'mesas', 'omits', 'tepee', 'harry', 'wring', 'evoke', 'limes', 'cluck', 'lunge', 'highs', 'canes', 'giddy', 'lithe', 'verge', 'khaki', 'queue', 'loath', 'foyer', 'outdo', 'fared', 'deter', 'crumb', 'astir', 'spire', 'jumpy', 'extol', 'buoys', 'stubs', 'lucid', 'thong', 'afore', 'whiff', 'maxim', 'hulls', 'clogs', 'slats', 'jiffy', 'arbor', 'cinch', 'igloo', 'goody', 'gazes', 'dowel', 'calms', 'bitch', 'scowl', 'gulps', 'coded', 'waver', 'mason', 'lobes', 'ebony', 'flail', 'isles', 'clods', 'dazed', 'adept', 'oozed', 'sedan', 'clays', 'warts', 'ketch', 'skunk', 'manes', 'adore', 'sneer', 'mango', 'fiord', 'flora', 'roomy', 'minks', 'thaws', 'watts', 'freer', 'exult', 'plush', 'paled', 'twain', 'clink', 'scamp', 'pawed', 'grope', 'bravo', 'gable', 'stink', 'sever', 'waned', 'rarer', 'regal', 'wards', 'fawns', 'babes', 'unify', 'amend', 'oaken', 'glade', 'visor', 'hefty', 'nines', 'throb', 'pecan', 'butts', 'pence', 'sills', 'jails', 'flyer', 'saber', 'nomad', 'miter', 'beeps', 'domed', 'gulfs', 'curbs', 'heath', 'moors', 'aorta', 'larks', 'tangy', 'wryly', 'cheep', 'rages', 'evade', 'lures', 'freak', 'vogue', 'tunic', 'slams', 'knits', 'dumpy', 'mania', 'spits', 'firth', 'hikes', 'trots', 'nosed', 'clank', 'dogma', 'bloat', 'balsa', 'graft', 'middy', 'stile', 'keyed', 'finch', 'sperm', 'chaff', 'wiles', 'amigo', 'copra', 'amiss', 'eying', 'twirl', 'lurch', 'popes', 'chins', 'smock', 'tines', 'guise', 'grits', 'junks', 'shoal', 'cache', 'tapir', 'atoll', 'deity', 'toils', 'spree', 'mocks', 'scans', 'shorn', 'revel', 'raven', 'hoary', 'reels', 'scuff', 'mimic', 'weedy', 'corny', 'truer', 'rouge', 'ember', 'floes', 'torso', 'wipes', 'edict', 'sulky', 'recur', 'groin', 'baste', 'kinks', 'surer', 'piggy', 'moldy', 'franc', 'liars', 'inept', 'gusty', 'facet', 'jetty', 'equip', 'leper', 'slink', 'soars', 'cater', 'dowry', 'sided', 'yearn', 'decoy', 'taboo', 'ovals', 'heals', 'pleas', 'beret', 'spilt', 'gayly', 'rover', 'endow', 'pygmy', 'carat', 'abbey', 'vents', 'waken', 'chimp', 'fumed', 'sodas', 'vinyl', 'clout', 'wades', 'mites', 'smirk', 'bores', 'bunny', 'surly', 'frock', 'foray', 'purer', 'milks', 'query', 'mired', 'blare', 'froth', 'gruel', 'navel', 'paler', 'puffy', 'casks', 'grime', 'derby', 'mamma', 'gavel', 'teddy', 'vomit', 'moans', 'allot', 'defer', 'wield', 'viper', 'louse', 'erred', 'hewed', 'abhor', 'wrest', 'waxen', 'adage', 'ardor', 'stabs', 'pored', 'rondo', 'loped', 'fishy', 'bible', 'hires', 'foals', 'feuds', 'jambs', 'thuds', 'jeers', 'knead', 'quirk', 'rugby', 'expel', 'greys', 'rigor', 'ester', 'lyres', 'aback', 'glues', 'lotus', 'lurid', 'rungs', 'hutch', 'thyme', 'valet', 'tommy', 'yokes', 'epics', 'trill', 'pikes', 'ozone', 'caper', 'chime', 'frees', 'famed', 'leech', 'smite', 'neigh', 'erode', 'robed', 'hoard', 'salve', 'conic', 'gawky', 'craze', 'jacks', 'gloat', 'mushy', 'rumps', 'fetus', 'wince', 'pinks', 'shalt', 'toots', 'glens', 'cooed', 'rusts', 'stews', 'shred', 'parka', 'chugs', 'winks', 'clots', 'shrew', 'booed', 'filmy', 'juror', 'dents', 'gummy', 'grays', 'hooky', 'butte', 'dogie', 'poled', 'reams', 'fifes', 'spank', 'gayer', 'tepid', 'spook', 'taint', 'flirt', 'rogue', 'spiky', 'opals', 'miser', 'cocky', 'coyly', 'balmy', 'slosh', 'brawl', 'aphid', 'faked', 'hydra', 'brags', 'chide', 'yanks', 'allay', 'video', 'altos', 'eases', 'meted', 'chasm', 'longs', 'excel', 'taffy', 'impel', 'savor', 'koala', 'quays', 'dawns', 'proxy', 'clove', 'duets', 'dregs', 'tardy', 'briar', 'grimy', 'ultra', 'meaty', 'halve', 'wails', 'suede', 'mauve', 'envoy', 'arson', 'coves', 'gooey', 'brews', 'sofas', 'chums', 'amaze', 'zooms', 'abbot', 'halos', 'scour', 'suing', 'cribs', 'sagas', 'enema', 'wordy', 'harps', 'coupe', 'molar', 'flops', 'weeps', 'mints', 'ashen', 'felts', 'askew', 'munch', 'mewed', 'divan', 'vices', 'jumbo', 'blobs', 'blots', 'spunk', 'acrid', 'topaz', 'cubed', 'clans', 'flees', 'slurs', 'gnaws', 'welds', 'fords', 'emits', 'agate', 'pumas', 'mends', 'darks', 'dukes', 'plies', 'canny', 'hoots', 'oozes', 'lamed', 'fouls', 'clefs', 'nicks', 'mated', 'skims', 'brunt', 'tuber', 'tinge', 'fates', 'ditty', 'thins', 'frets', 'eider', 'bayou', 'mulch', 'fasts', 'amass', 'damps', 'morns', 'friar', 'palsy', 'vista', 'croon', 'conch', 'udder', 'tacos', 'skits', 'mikes', 'quits', 'preen', 'aster', 'adder', 'elegy', 'pulpy', 'scows', 'baled', 'hovel', 'lavas', 'crave', 'optic', 'welts', 'busts', 'knave', 'razed', 'shins', 'totes', 'scoot', 'dears', 'crock', 'mutes', 'trims', 'skein', 'doted', 'shuns', 'veers', 'fakes', 'yoked', 'wooed', 'hacks', 'sprig', 'wands', 'lulls', 'seers', 'snobs', 'nooks', 'pined', 'perky', 'mooed', 'frill', 'dines', 'booze', 'tripe', 'prong', 'drips', 'odder', 'levee', 'antic', 'sidle', 'pithy', 'corks', 'yelps', 'joker', 'fleck', 'buffs', 'scram', 'tiers', 'bogey', 'doled', 'irate', 'vales', 'coped', 'hails', 'elude', 'bulks', 'aired', 'vying', 'stags', 'strew', 'cocci', 'pacts', 'scabs', 'silos', 'dusts', 'yodel', 'terse', 'jaded', 'baser', 'jibes', 'foils', 'sways', 'forgo', 'slays', 'preys', 'treks', 'quell', 'peeks', 'assay', 'lurks', 'eject', 'boars', 'trite', 'belch', 'gnash', 'wanes', 'lutes', 'whims', 'dosed', 'chewy', 'snipe', 'umbra', 'teems', 'dozes', 'kelps', 'upped', 'brawn', 'doped', 'shush', 'rinds', 'slush', 'moron', 'voile', 'woken', 'fjord', 'sheik', 'jests', 'kayak', 'slews', 'toted', 'saner', 'drape', 'patty', 'raves', 'sulfa', 'grist', 'skied', 'vixen', 'civet', 'vouch', 'tiara', 'homey', 'moped', 'runts', 'serge', 'kinky', 'rills', 'corns', 'brats', 'pries', 'amble', 'fries', 'loons', 'tsars', 'datum', 'musky', 'pigmy', 'gnome', 'ravel', 'ovule', 'icily', 'liken', 'lemur', 'frays', 'silts', 'sifts', 'plods', 'ramps', 'tress', 'earls', 'dudes', 'waive', 'karat', 'jolts', 'peons', 'beers', 'horny', 'pales', 'wreak', 'lairs', 'lynch', 'stank', 'swoon', 'idler', 'abort', 'blitz', 'ensue', 'atone', 'bingo', 'roves', 'kilts', 'scald', 'adios', 'cynic', 'dulls', 'memos', 'elfin', 'dales', 'peels', 'peals', 'bares', 'sinus', 'crone', 'sable', 'hinds', 'shirk', 'enrol', 'wilts', 'roams', 'duped', 'cysts', 'mitts', 'safes', 'spats', 'coops', 'filet', 'knell', 'refit', 'covey', 'punks', 'kilns', 'fitly', 'abate', 'talcs', 'heeds', 'duels', 'wanly', 'ruffs', 'gauss', 'lapel', 'jaunt', 'whelp', 'cleat', 'gauzy', 'dirge', 'edits', 'wormy', 'moats', 'smear', 'prods', 'bowel', 'frisk', 'vests', 'bayed', 'rasps', 'tames', 'delve', 'embed', 'befit', 'wafer', 'ceded', 'novas', 'feign', 'spews', 'larch', 'huffs', 'doles', 'mamas', 'hulks', 'pried', 'brims', 'irked', 'aspic', 'swipe', 'mealy', 'skimp', 'bluer', 'slake', 'dowdy', 'penis', 'brays', 'pupas', 'egret', 'flunk', 'phlox', 'gripe', 'peony', 'douse', 'blurs', 'darns', 'slunk', 'lefts', 'chats', 'inane', 'vials', 'stilt', 'rinks', 'woofs', 'wowed', 'bongs', 'frond', 'ingot', 'evict', 'singe', 'shyer', 'flied', 'slops', 'dolts', 'drool', 'dells', 'whelk', 'hippy', 'feted', 'ether', 'cocos', 'hives', 'jibed', 'mazes', 'trios', 'sirup', 'squab', 'laths', 'leers', 'pasta', 'rifts', 'lopes', 'alias', 'whirs', 'diced', 'slags', 'lodes', 'foxed', 'idled', 'prows', 'plait', 'malts', 'chafe', 'cower', 'toyed', 'chefs', 'keels', 'sties', 'racer', 'etude', 'sucks', 'sulks', 'micas', 'czars', 'copse', 'ailed', 'abler', 'rabid', 'golds', 'croup', 'snaky', 'visas', 'palls', 'mopes', 'boned', 'wispy', 'raved', 'swaps', 'junky', 'doily', 'pawns', 'tamer', 'poach', 'baits', 'damns', 'gumbo', 'daunt', 'prank', 'hunks', 'buxom', 'heres', 'honks', 'stows', 'unbar', 'idles', 'routs', 'sages', 'goads', 'remit', 'copes', 'deign', 'culls', 'girds', 'haves', 'lucks', 'stunk', 'dodos', 'shams', 'snubs', 'icons', 'usurp', 'dooms', 'hells', 'soled', 'comas', 'paves', 'maths', 'perks', 'limps', 'wombs', 'blurb', 'daubs', 'cokes', 'sours', 'stuns', 'cased', 'musts', 'coeds', 'cowed', 'aping', 'zoned', 'rummy', 'fetes', 'skulk', 'quaff', 'rajah', 'deans', 'reaps', 'galas', 'tills', 'roved', 'kudos', 'toned', 'pared', 'scull', 'vexes', 'punts', 'snoop', 'bails', 'dames', 'hazes', 'lores', 'marts', 'voids', 'ameba', 'rakes', 'adzes', 'harms', 'rears', 'satyr', 'swill', 'hexes', 'colic', 'leeks', 'hurls', 'yowls', 'ivies', 'plops', 'musks', 'papaw', 'jells', 'bused', 'cruet', 'bided', 'filch', 'zests', 'rooks', 'laxly', 'rends', 'loams', 'basks', 'sires', 'carps', 'pokey', 'flits', 'muses', 'bawls', 'shuck', 'viler', 'lisps', 'peeps', 'sorer', 'lolls', 'prude', 'diked', 'floss', 'flogs', 'scums', 'dopes', 'bogie', 'pinky', 'leafs', 'tubas', 'scads', 'lowed', 'yeses', 'biked', 'qualm', 'evens', 'caned', 'gawks', 'whits', 'wooly', 'gluts', 'romps', 'bests', 'dunce', 'crony', 'joist', 'tunas', 'boner', 'malls', 'parch', 'avers', 'crams', 'pares', 'dally', 'bigot', 'kales', 'flays', 'leach', 'gushy', 'pooch', 'huger', 'slyer', 'golfs', 'mires', 'flues', 'loafs', 'arced', 'acnes', 'neons', 'fiefs', 'dints', 'dazes', 'pouts', 'cored', 'yules', 'lilts', 'beefs', 'mutts', 'fells', 'cowls', 'spuds', 'lames', 'jawed', 'dupes', 'deads', 'bylaw', 'noons', 'nifty', 'clued', 'vireo', 'gapes', 'metes', 'cuter', 'maims', 'droll', 'cupid', 'mauls', 'sedge', 'papas', 'wheys', 'eking', 'loots', 'hilts', 'meows', 'beaus', 'dices', 'peppy', 'riper', 'fogey', 'gists', 'yogas', 'gilts', 'skews', 'cedes', 'zeals', 'alums', 'okays', 'elope', 'grump', 'wafts', 'soots', 'blimp', 'hefts', 'mulls', 'hosed', 'cress', 'doffs', 'ruder', 'pixie', 'waifs', 'ousts', 'pucks', 'biers', 'gulch', 'suets', 'hobos', 'lints', 'brans', 'teals', 'garbs', 'pewee', 'helms', 'turfs', 'quips', 'wends', 'banes', 'napes', 'icier', 'swats', 'bagel', 'hexed', 'ogres', 'goner', 'gilds', 'pyres', 'lards', 'bides', 'paged', 'talon', 'flout', 'medic', 'veals', 'putts', 'dirks', 'dotes', 'tippy', 'blurt', 'piths', 'acing', 'barer', 'whets', 'gaits', 'wools', 'dunks', 'heros', 'swabs', 'dirts', 'jutes', 'hemps', 'surfs', 'okapi', 'chows', 'shoos', 'dusks', 'parry', 'decal', 'furls', 'cilia', 'sears', 'novae', 'murks', 'warps', 'slues', 'lamer', 'saris', 'weans', 'purrs', 'dills', 'togas', 'newts', 'meany', 'bunts', 'razes', 'goons', 'wicks', 'ruses', 'vends', 'geode', 'drake', 'judos', 'lofts', 'pulps', 'lauds', 'mucks', 'vises', 'mocha', 'oiled', 'roman', 'ethyl', 'gotta', 'fugue', 'smack', 'gourd', 'bumpy', 'radix', 'fatty', 'borax', 'cubit', 'cacti', 'gamma', 'focal', 'avail', 'papal', 'golly', 'elite', 'versa', 'billy', 'adieu', 'annum', 'howdy', 'rhino', 'norms', 'bobby', 'axiom', 'setup', 'yolks', 'terns', 'mixer', 'genre', 'knoll', 'abode', 'junta', 'gorge', 'combo', 'alpha', 'overt', 'kinda', 'spelt', 'prick', 'nobly', 'ephod', 'audio', 'modal', 'veldt', 'warty', 'fluke', 'bonny', 'bream', 'rosin', 'bolls', 'doers', 'downs', 'beady', 'motif', 'humph', 'fella', 'mould', 'crepe', 'kerns', 'aloha', 'glyph', 'azure', 'riser', 'blest', 'locus', 'lumpy', 'beryl', 'wanna', 'brier', 'tuner', 'rowdy', 'mural', 'timer', 'canst', 'krill', 'quoth', 'lemme', 'triad', 'tenon', 'amply', 'deeps', 'padre', 'leant', 'pacer', 'octal', 'dolly', 'trans', 'sumac', 'foamy', 'lolly', 'giver', 'quipu', 'codex', 'manna', 'unwed', 'vodka', 'ferny', 'salon', 'duple', 'boron', 'revue', 'crier', 'alack', 'inter', 'dilly', 'whist', 'cults', 'spake', 'reset', 'loess', 'decor', 'mover', 'verve', 'ethic', 'gamut', 'lingo', 'dunno', 'align', 'sissy', 'incur', 'reedy', 'avant', 'piper', 'waxer', 'calyx', 'basil', 'coons', 'seine', 'piney', 'lemma', 'trams', 'winch', 'whirr', 'saith', 'ionic', 'heady', 'harem', 'tummy', 'sally', 'shied', 'dross', 'farad', 'saver', 'tilde', 'jingo', 'bower', 'serif', 'facto', 'belle', 'inset', 'bogus', 'caved', 'forte', 'sooty', 'bongo', 'toves', 'credo', 'basal', 'yella', 'aglow', 'glean', 'gusto', 'hymen', 'ethos', 'terra', 'brash', 'scrip', 'swash', 'aleph', 'tinny', 'itchy', 'wanta', 'trice', 'jowls', 'gongs', 'garde', 'boric', 'twill', 'sower', 'henry', 'awash', 'libel', 'spurn', 'sabre', 'rebut', 'penal', 'obese', 'sonny', 'quirt', 'mebbe', 'tacit', 'greek', 'xenon', 'hullo', 'pique', 'roger', 'negro', 'hadst', 'gecko', 'beget', 'uncut', 'aloes', 'louis', 'quint', 'clunk', 'raped', 'salvo', 'diode', 'matey', 'hertz', 'xylem', 'kiosk', 'apace', 'cawed', 'peter', 'wench', 'cohos', 'sorta', 'gamba', 'bytes', 'tango', 'nutty', 'axial', 'aleck', 'natal', 'clomp', 'gored', 'siree', 'bandy', 'gunny', 'runic', 'whizz', 'rupee', 'fated', 'wiper', 'bards', 'briny', 'staid', 'hocks', 'ochre', 'yummy', 'gents', 'soupy', 'roper', 'swath', 'cameo', 'edger', 'spate', 'gimme', 'ebbed', 'breve', 'theta', 'deems', 'dykes', 'servo', 'telly', 'tabby', 'tares', 'blocs', 'welch', 'ghoul', 'vitae', 'cumin', 'dinky', 'bronc', 'tabor', 'teeny', 'comer', 'borer', 'sired', 'privy', 'mammy', 'deary', 'gyros', 'sprit', 'conga', 'quire', 'thugs', 'furor', 'bloke', 'runes', 'bawdy', 'cadre', 'toxin', 'annul', 'egged', 'anion', 'nodes', 'picky', 'stein', 'jello', 'audit', 'echos', 'fagot', 'letup', 'eyrie', 'fount', 'caped', 'axons', 'amuck', 'banal', 'riled', 'petit', 'umber', 'miler', 'fibre', 'agave', 'bated', 'bilge', 'vitro', 'feint', 'pudgy', 'mater', 'manic', 'umped', 'pesky', 'strep', 'slurp', 'pylon', 'puree', 'caret', 'temps', 'newel', 'yawns', 'seedy', 'treed', 'coups', 'rangy', 'brads', 'mangy', 'loner', 'circa', 'tibia', 'afoul', 'mommy', 'titer', 'carne', 'kooky', 'motes', 'amity', 'suave', 'hippo', 'curvy', 'samba', 'newsy', 'anise', 'imams', 'tulle', 'aways', 'liven', 'hallo', 'wales', 'opted', 'canto', 'idyll', 'bodes', 'curio', 'wrack', 'hiker', 'chive', 'yokel', 'dotty', 'demur', 'cusps', 'specs', 'quads', 'laity', 'toner', 'decry', 'writs', 'saute', 'clack', 'aught', 'logos', 'tipsy', 'natty', 'ducal', 'bidet', 'bulgy', 'metre', 'lusts', 'unary', 'goeth', 'baler', 'sited', 'shies', 'hasps', 'brung', 'holed', 'swank', 'looky', 'melee', 'huffy', 'loamy', 'pimps', 'titan', 'binge', 'shunt', 'femur', 'libra', 'seder', 'honed', 'annas', 'coypu', 'shims', 'zowie', 'jihad', 'savvy', 'nadir', 'basso', 'monic', 'maned', 'mousy', 'omega', 'laver', 'prima', 'picas', 'folio', 'mecca', 'reals', 'troth', 'testy', 'balky', 'crimp', 'chink', 'abets', 'splat', 'abaci', 'vaunt', 'cutie', 'pasty', 'moray', 'levis', 'ratty', 'islet', 'joust', 'motet', 'viral', 'nukes', 'grads', 'comfy', 'voila', 'woozy', 'blued', 'whomp', 'sward', 'metro', 'skeet', 'chine', 'aerie', 'bowie', 'tubby', 'emirs', 'coati', 'unzip', 'slobs', 'trike', 'funky', 'ducat', 'dewey', 'skoal', 'wadis', 'oomph', 'taker', 'minim', 'getup', 'stoic', 'synod', 'runty', 'flyby', 'braze', 'inlay', 'venue', 'louts', 'peaty', 'orlon', 'humpy', 'radon', 'beaut', 'raspy', 'unfed', 'crick', 'nappy', 'vizor', 'yipes', 'rebus', 'divot', 'kiwis', 'vetch', 'squib', 'sitar', 'kiddo', 'dyers', 'cotta', 'matzo', 'lager', 'zebus', 'crass', 'dacha', 'kneed', 'dicta', 'fakir', 'knurl', 'runny', 'unpin', 'julep', 'globs', 'nudes', 'sushi', 'tacky', 'stoke', 'kaput', 'butch', 'hulas', 'croft', 'achoo', 'genii', 'nodal', 'outgo', 'spiel', 'viols', 'fetid', 'cagey', 'fudgy', 'epoxy', 'leggy', 'hanky', 'lapis', 'felon', 'beefy', 'coots', 'melba', 'caddy', 'segue', 'betel', 'frizz', 'drear', 'kooks', 'turbo', 'hoagy', 'moult', 'helix', 'zonal', 'arias', 'nosey', 'paean', 'lacey', 'banns', 'swain', 'fryer', 'retch', 'tenet', 'gigas', 'whiny', 'ogled', 'rumen', 'begot', 'cruse', 'abuts', 'riven', 'balks', 'sines', 'sigma', 'abase', 'ennui', 'gores', 'unset', 'augur', 'sated', 'odium', 'latin', 'dings', 'moire', 'scion', 'henna', 'kraut', 'dicks', 'lifer')
def isword(user_word,wordly_word):
    for x in user_word:
        print(x,end=" ")
    print()
    #If alphabet present in same position green
    #if alphabet present in word yellow
    #if alphabet is not present black
    for i in range(len(user_word)):
        if user_word[i] == wordly_word[i]:
            print("????",end ="")
        elif user_word[i] in wordly_word:
            print("????",end="")
        else:
            print("",end="")
            
    #if word present return true else return false
    if user_word == wordly_word:
        return 1
    else:
        return 0

import random
random_word = random.choice(words)
print(random_word)
print("Let's Play Wordle")
message,i = {0:"Marvellous",1:"Excellent",2:"Very good",3:"Nice",4:"Good",5:"Ok"},6
while i>0:
    user_word=input("\nEnter word: ")
    if (len(user_word)==5 and user_word.isalpha()):
        i = i-1
        if isword(user_word,random_word):
                print("\n",message[i])
                break
        else:
            continue
    else:
        print("Please enter a valid word")
else:
    print("End of Game, the correct word is:",random_word)
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Top Bottom