Plus and minus, with a floor
Your task In the code box, finish Quantity({ start = 1 }): show the number in <output>, + adds one, − takes one away but never below 1. Then press Run my code.
Getting the editor ready
Your task In the code box, finish Quantity({ start = 1 }): show the number in <output>, + adds one, − takes one away but never below 1. Then press Run my code.
Getting the editor ready