Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This question provides an opportunity for you to demonstrate your understanding of the problemsolving approach taught in TM112 and the patterns introduced in Block 1
This question provides an opportunity for you to demonstrate your understanding of the problemsolving approach taught in TM112 and the patterns introduced in Block 1 Part 4 and Block 2 Part 2. You can find an overview of the problem-solving approach and a list of all the patterns TM112 teaches in Problem solving and Python quick reference; you will need to refer to this document as you work on the question. Important note: you do not need to get a working program in part (a) in order to attempt part (b). A student wants to design and implement a Python program to keep track of the largest single payment they have made from their bank account in a week. The amounts of money, in pennies, paid into their account (the credits) are represented by positive integers and the amounts of money, in pennies, paid out of their account (the debits) are represented as negative integers. There are many ways of doing this, but here is their initial top-level decomposition. • > Determine the largest single debit • >> Input a list of transactions • >> Create a new list that contains only the negative amounts •
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Based on the initial toplevel decomposition provided the student wants to design and implement a Python program to keep track of the largest single pa...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started