Jun-20-2018, 06:25 PM
(Jun-18-2018, 10:20 PM)ichabod801 Wrote: I don't like the _ after key words so they can be variable names. I would use other names, like low and high instead of min_ and max_.I agree, me too. Thank you for low and high, I will use it.
(Jun-18-2018, 10:20 PM)ichabod801 Wrote: Note that you can use random.sample to get two unique numbers without having to code the loop in get_ghost.Thank you, I did not know about this possibility.
(Jun-18-2018, 10:20 PM)ichabod801 Wrote: There are too many single letter variable names, try to be more descriptive.I use when the variable appears and then disappears. I'm not sure that this is bad.
And again thanks nilamo for the version get_ghost(). I like it.