mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-27 14:01:09 +00:00
265d3c9eb7
Python script that takes a file containing flash card questions and answers as an argument and quizzes the user based on the contents of that file until the user quits the program. Questions should be selected randomly (as opposed to going in order through the file), and the user should type in their guess. The script should say whether or not a guess is correct and provide the correct answer if an incorrect answer is given.
26 lines
530 B
Plaintext
26 lines
530 B
Plaintext
la nourriture,food
|
|
avoir faim,to be hungry
|
|
manger,to eat
|
|
le repas,meal
|
|
le petit-déjeuner,breakfast
|
|
le déjeuner,lunch
|
|
le dîner,dinner
|
|
le goûter,snack
|
|
le hors d'Å“uvre,appetizer
|
|
le plat principal,main course
|
|
la salle à manger,dining room
|
|
la confiture,jam
|
|
le croissant,croissant
|
|
la farine,flour
|
|
les frites,French fries
|
|
l'huile d'olive,olive oil
|
|
la mayonnaise,mayonnaise
|
|
la moutarde,mustard
|
|
un Å“uf,egg
|
|
le pain,bread
|
|
le pain grillé,toast
|
|
les pâtes,pasta
|
|
le poivre,pepper
|
|
le riz,rice
|
|
le sel,salt
|
|
le sucre,suga |