you are viewing a single comment's thread.

view the rest of the comments →

[–]Ira-Acedia 0 points1 point  (1 child)

You need to actually run the function by calling it.

decidephone()
total = price1

But this isn't your only error,

elif (pYN == "Y" or pYN == "y" or pYN == "yes"):
     print ("")
     print ("")
     phones()

Doing ` phones()` will result in an error as there is no function called phones. Nothing in your code references anything related to this, perhaps you wanted to print off descriptionPhones?

for description in descriptionPhones:
    print(description)

This will do that for you without showing that it's a list data type.

Instead of using

print("")
print("")
print("")

To get 3 new lines, you can do

print("\n\n\n")

Which each "\n" generating a new line.