|
| 1 | +import random |
| 2 | + |
| 3 | +# List of questions and answers |
| 4 | +questions = [ |
| 5 | + { |
| 6 | + "question": "What Pokémon is mostly dark blue with a yellow chest, has a white triangular marking over each eye, and has a light blue four-pointed star on each thigh, and yellow on the lower half of its face?", |
| 7 | + "answer": "greninja" |
| 8 | + }, |
| 9 | + { |
| 10 | + "question": "What pokemon is yellow, a large mouse with a lightning bolt-shaped tail, and has red sacs on its cheek?", |
| 11 | + "answer": "pikachu" |
| 12 | + }, |
| 13 | + { |
| 14 | + "question": "What Pokémon is a yellow Pokémon, resembling a duck or a bipedal platypus, and is a Water-type Pokémon but has psychic power?", |
| 15 | + "answer": "psyduck" |
| 16 | + }, |
| 17 | + { |
| 18 | + "question": "what pokemon has brown eyes, big ears, and pink paw pads?", |
| 19 | + "answer": "eevee" |
| 20 | + }, |
| 21 | + { |
| 22 | + "question": "what pokemon has a blue body with purple eyes, a light brown belly, a tough red-brown shell on its back, and has a long tail that curls into a spiral?", |
| 23 | + "answer": "squirtle" |
| 24 | + }, |
| 25 | + { |
| 26 | + "question": "what pokemon has four small fangs visible on its upper and lower jaws, and a cream underside and an expansive cream coloration on the sole of its foot?", |
| 27 | + "answer": "charmander" |
| 28 | + }, |
| 29 | + { |
| 30 | + "question": "what pokemon is small, amphibian, and the first pokemon in the pokedex?", |
| 31 | + "answer": "bulbasaur" |
| 32 | + }, |
| 33 | + { |
| 34 | + "question": "what pokemon has the ability to control time?", |
| 35 | + "answer": "dialga" |
| 36 | + }, |
| 37 | + { |
| 38 | + "question": "what pokemon has the power to control space, is a water and dragon type, and is weak to dragon and fairy tipe attacks?", |
| 39 | + "answer": "palkia" |
| 40 | + }, |
| 41 | + { |
| 42 | + "question": "what pokemon is a large, dragon-like Pokémon, has two large wings with teal undersides and a flame burning at the tip of its tail?", |
| 43 | + "answer": "charizard" |
| 44 | + |
| 45 | + }, |
| 46 | + |
| 47 | + { |
| 48 | + "question": "what pokemon has whiskers, black-and-brown ears, and a curled tail?", |
| 49 | + "answer": "meowth" |
| 50 | + |
| 51 | + }, |
| 52 | + { |
| 53 | + "question": "what pokemon is constantly sleeping?", |
| 54 | + "answer": "snorlax" |
| 55 | + }, |
| 56 | + { |
| 57 | + "question": "what pokemon has a rocky head and body, strong arms, and the ability to camouflage itself as a rock?", |
| 58 | + "answer": "geodude" |
| 59 | + }, |
| 60 | + { |
| 61 | + "question": "what pokemon has a hardened, rock-like exterior and has an ability to roll into a ball and move at high speeds?", |
| 62 | + "answer": "golem" |
| 63 | + }, |
| 64 | + { |
| 65 | + "question": "what pokemon has six tails and is a fox-like Pokémon with reddish-brown fur?", |
| 66 | + "answer": "vulpix" |
| 67 | + }, |
| 68 | + { |
| 69 | + "question": "what pokemon is round with spikes on its back, is a ghost and poison type and is very mischievous?", |
| 70 | + "answer": "gengar" |
| 71 | + }, |
| 72 | + { |
| 73 | + "question": "what pokemon has an appearance that combines traits of tigers and lions, with orange fur, black stripes, and cream-colored tufts?", |
| 74 | + "answer": "arcanine" |
| 75 | + }, |
| 76 | + { |
| 77 | + "question": "what pokemon has blue fur, black appendages on its head, and a canine-like appearance?", |
| 78 | + "answer": "lucario" |
| 79 | + }, |
| 80 | + { |
| 81 | + "question": "what pokemon is a large, orange-skinned Pokémon with a friendly, dragon-like appearance", |
| 82 | + "answer": "dragonite" |
| 83 | + } |
| 84 | +] |
| 85 | + |
| 86 | + |
| 87 | +# Shuffle the questions |
| 88 | +random.shuffle(questions) |
| 89 | + |
| 90 | +# Loop through each question |
| 91 | +for question in questions: |
| 92 | + while True: |
| 93 | + user_answer = input(question["question"] + "\n").strip().lower() |
| 94 | + if user_answer == question["answer"]: |
| 95 | + print("Correct!") |
| 96 | + break |
| 97 | + else: |
| 98 | + print("Incorrect! Try again.") |
0 commit comments