Develop an application that allows you to enter the number of workers needed for an urban work. In addition, you must ask for the salary that those workers will receive. Once entered these data, show the total cost in that concept. After ask for a discount percentage (decimal). Apply this discount to the amount shown above and show the final amount of the construction.
I have the following problem to solve, but my big doubt that when entering the data and then multiply by the salary:
sueldo_total = (sueldo * num_trabajadores,)
But he throws me an error:
salary_total = (salary * num_workers,)
TypeError: can not multiply sequence by non-int of type 'str'
What could I do in that case?