Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Applied Computational Thinking with Python

You're reading from   Applied Computational Thinking with Python Algorithm design for complex real-world problems

Arrow left icon
Product type Paperback
Published in Dec 2023
Publisher Packt
ISBN-13 9781837632305
Length 438 pages
Edition 2nd Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Sofía De  Jesús Sofía De Jesús
Author Profile Icon Sofía De Jesús
Sofía De Jesús
 Martinez Martinez
Author Profile Icon Martinez
Martinez
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Preface 1. Part 1: An Introduction to Computational Thinking
2. Chapter 1: Fundamentals of Computer Science FREE CHAPTER 3. Chapter 2: Elements of Computational Thinking 4. Chapter 3: Understanding Algorithms and Algorithmic Thinking 5. Chapter 4: Understanding Logical Reasoning 6. Chapter 5: Errors 7. Chapter 6: Exploring Problem Analysis 8. Chapter 7: Designing Solutions and Solution Processes 9. Chapter 8: Identifying Challenges within Solutions 10. Part 2: Applying Python and Computational Thinking
11. Chapter 9: Introduction to Python 12. Chapter 10: Understanding Input and Output to Design a Solution Algorithm 13. Chapter 11: Control Flow 14. Chapter 12: Using Computational Thinking and Python in Simple Challenges 15. Chapter 13: Debugging 16. Part 3: Data Processing, Analysis, and Applications Using Computational Thinking and Python
17. Chapter 14: Using Python in Experimental and Data Analysis Problems 18. Chapter 15: Introduction to Machine Learning 19. Chapter 16: Using Computational Thinking and Python in Statistical Analysis 20. Chapter 17: Applied Computational Thinking Problems 21. Chapter 18: Advanced Applied Computational Thinking Problems 22. Chapter 19: Integrating Python with Amazon Web Services (AWS) 23. Index 24. Other Books You May Enjoy

Designing and testing the algorithm

In the previous section, we got a lot of input from the user because we were creating an algorithm that was used as a template for many campaigns. Now, we need to use that input in a variety of ways. Here’s what we have so far:

  • The number of tiers of pledges
  • A percentage breakdown of the tiers
  • The number of items for each tier
  • The cost of each tier

Now, we can do something with all that information. First, let’s talk about what we might want. We may want to test how much we’d make selling a specific quantity of the tiers. We could also break down how many of each tier we’d need based on a funding goal, much as we did in the first part of this chapter.

What would be most helpful? Well, that depends on what you need. I’m going to say that I want a breakdown based on the funding goal. I want to know how many of each pledge type I will need to make available. So, now I have to figure out...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Applied Computational Thinking with Python
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime
Modal Close icon
Modal Close icon