Conditional operators
These are another way, more compact way of doing if else statements. The above logic means if there's more than 20 bananas do the first thing, else do the second…
These are another way, more compact way of doing if else statements. The above logic means if there's more than 20 bananas do the first thing, else do the second…