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
#7
it's not clear how you run your code and call functions you define in the snippet
then you have defined get_customer_info() function but it does not return anything, so even if you call it at some point it will have no effect
also you have get_customer_info argument in the signature of letter function. Note that it's something different from the function of the same name defined before that. You never use it in the body of the said letter function. all the variable like name, street, city, etc. would not be defined when you try to use them
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


Messages In This Thread
Can’t get program to run properly - by ITnet20 - Dec-03-2019, 05:42 AM
RE: Can’t get program to run properly - by buran - Dec-04-2019, 07:10 PM
File issues - by ITnet20 - Dec-04-2019, 05:58 AM
RE: File issues - by buran - Dec-04-2019, 09:45 AM
RE: File issues - by jefsummers - Dec-04-2019, 03:16 PM
RE: File issues - by ITnet20 - Dec-04-2019, 06:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  The program isn't counting the total properly DanielCook 1 1,765 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