SyntaxFix
Write A Post
Hire A Developer
Questions
this part :
"Your new price is: $"(float(price)
asks python to call this string:
"Your new price is: $"
just like you would a function: function( some_args) which will ALWAYS trigger the error:
function( some_args)
TypeError: 'str' object is not callable