Jun-29-2022, 02:16 PM
Non-empty strings, e.g.
"k"
on line 4 evaluate to True
, so your or
expression is wrong. The right hand side needs to check unit == "k"
.