185k views
3 votes
Working on a python assignment, not sure what i did wrong can anyone help?

Working on a python assignment, not sure what i did wrong can anyone help?-example-1
User RedComet
by
5.7k points

1 Answer

0 votes

Answer:

Step-by-step explanation:

line 13 should be changed to:

print(“Item 1: “ + item1 + “ - $” + str(float(const1)))

You cannot concatenate a string to float type.

User LShi
by
6.6k points