Question: Hi working on python 3 and Im stuck on these two Im also using while loop for these two thanks ! Untitled - Notepad File
Untitled - Notepad File Edit Format View Help #1 . Vampires can each convert v people a day into vampires, however, there is a band of vampires hunters that can kill k vampires per day. If a coven of vampires starts with vampire members, how long before a town with a population of people becomes a town with no humans left in it? write a function vampireApocalypse(v, k, vampires, people) that returns the answer to this question. def vampireApocalypse (v, k, vampires, people): population people day e while populatione: population- #2. An amoeba can split itself into two once every h hours. how many hours does it take for a single amoeba to become a target amoebae? write a function amoebaGrowth(h, target) that returns the answer to this question(using while loop)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
