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.
14 lines
313 B
Plaintext
14 lines
313 B
Plaintext
peta,quadrillion (10^15)
|
|
tera,trillion (10^12)
|
|
giga,billion (10^9)
|
|
mega,million (10^6)
|
|
kilo,thousand (10^3)
|
|
hecto,hundred (10^2)
|
|
deka,ten (10^1)
|
|
deci,tenth (10^-1)
|
|
centi,hundredth (10^-2)
|
|
milli,thousandth (10^-3)
|
|
micro,millionth (10^-6)
|
|
nano,billionth (10^-9)
|
|
pico,trillionth (10^-12)
|
|
femto,quadrillionth (10^-15) |