The condi are evaluated in turn, until one of them is found to yield True.
If all preceding condi yield False, then the vali corresponding to the first condi that yields True is returned as the value of the piecewise function.
If any of the preceding condi do not literally yield False, the Piecewise function is returned in symbolic form.
Only those vali explicitly included in the returned form are evaluated.
Elements of the form {vali, False} are dropped, as are all elements after the first {vali, True}.
Piecewise[{{v1, c1}, {v2, c2}, ...}] can be input in the form . The piecewise operator can be entered as Esc pw Esc or \[Piecewise]. The grid of values and conditions can be constructed by first entering Ctrl+Comma, then using Ctrl+Enter and Ctrl+Comma.