Making a shop in pulp

You have to use "greater than or equal to", >=, instead of "equal to", ==.

Change "if coins==2 then" to "if coins>=2 then".

Check the documentation for other conditionals.

1 Like