Defining the problem and Python
We are going to dive into our first scenario. You are launching a campaign for a product you've designed. You're looking for investments that add up to $100,000 in pledges. You want to create an algorithm that saves information on the pledges made for you, while also providing information about the products each pledge provides. There are some things you need to identify before you write an algorithm:
- How many types of pledges will you run in your campaign?
- Will there be a donation-only pledge? Do donations get anything at all, such as a sticker, electronic certificate, or other product swag?
- What will each of the pledges give the person pledging?
All of these questions will help us plan. But we also have to take into account other things, such as what we need from the algorithm. Is it simply to list the number of pledges or will it also be used to check against an inventory or to create that inventory? Will it count...