Question: How to code in Python? Part V: Vampire Hunters (20 points) An intrepid band of vampire hunters has just arrived at a town where a



How to code in Python?
Part V: Vampire Hunters (20 points) An intrepid band of vampire hunters has just arrived at a town where a coven of vampires is preying on the townspeople. Your job is to write a function vampire hunt (humans, vampires, hunters) that will simulate how the populations of townspeople and vampires will change over time as the vampire hunters set to work, The town is populated by humans people, is threatened by vampires scary vampires, and is protected by hunters vampire hunters. Each vampire can convert one person a day into a new vampire. (Luckily, the vampire hunters are all immune to vampire bites.) Each vampire hunter can destroy one vampire per day. Since we don't know how many days it might take to reduce one of the populations to 0 (i.e., humans or vampires) we cant use a for-loop to simulate the fight. Instead, we will use a while-loop, which will run until one of the two
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
