Godot Version
4.5
Question
how to solve this text error

it says “expected closing “)” after call arguments”
Try this instead, using a string formatter to replace ‘%d’ with the desired integers
%UpgradeClickButton.text = "%d garden hoses %d" % [hoses, click_cost]
Always paste code instead of screenshots
You are missing a ‘+’
%UpgradeClickButton.text = (str(int(hoses))+ " garden hoses 💸 " + str(int(click_cost)))