Question: In python Exercise 3: Outbreak! Flu season is upon us and the number of people getting sick is growing. - On day 1 , there
Exercise 3: Outbreak! Flu season is upon us and the number of people getting sick is growing. - On day 1 , there was only 1 person with the flu. - On day 2 , it jumped to 4. - On day 3 , there were 64 - Every day since, the number of people who have the flu is equal to the last 3 days combined You will make a program that will ask the user for what day they want a count of people with the flu for. Then display the amount. Sample runs: OUTBREAK! What day do you want a sick count for?: 1 Total people with flu: 1 OUTBREAK! What day do you want a sick count for?: 2 Total people with flu: 4 OUTBREAK! What day do you want a sick count for?: 3 Total people with flu: 64 OUTBREAK! What day do you want a sick count for?: 4 Total people with flu: 69 OUTBREAK! What day do you want a sick count for?: 5 Total people with flu: 137 OUTBREAK! What day do you want a sick count for?: Invalid day
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
