Python Forum
Can’t get program to run properly
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can’t get program to run properly
#11
I merged the other thread into this one. Don't post same thread in multiple sub-forums
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#12
1. Look at line 18. Is that really what you meant?
2. You call get_customer_info() but that function doesn't return anything.
3. letter() is never called
4. Unclear from your logic structure - is get_customer_info supposed to get one customer's data or is it to loop through all the customers before returning. Currently it really doesn't do either properly. If called repeatedly it will only return the first customer.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  The program isn't counting the total properly DanielCook 1 1,736 Jul-09-2020, 04:51 PM
Last Post: mrdominikku

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020