Problem definition 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. The algorithm will need to save the pledges made and any products associated as part of the benefits of making that pledge. 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...