Question: Please explain step by step what to put for the results: The user is looking for a particular transaction from the last 5 transactions on

Please explain step by step what to put for the results:
The user is looking for a particular transaction from the last 5 transactions on her credit card that matches a particular amount of expense. Ask the user the exact amount of that expense she is looking for. Ask the user for the amounts of the last 5 transactions on her credit card. Display if a match was found or not. Please help Anna clean this up and get this code working.
print('Found')
print('Not Found')
amtSrch=float(input('Enter amount you are looking for: '))
amt=float(input(f'Enter amount of transaction {cnt+1}:-->'))
match=False
cnt=0
cnt+=1
match=True
if amt==amtSrch:
if match:
while (not match) and cnt<=5:
else:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!