by tomtimtall · 7y ago · 0 comments
"A"+"B" = Regex("A|B") = Regex("[AB]") # or maybe
"A"+"B" !> [?]Error: cannot convert /A|B/ to type str
"A"*6 !> TypeError: <str> * <int>Clearly, that should be undefined. You cannot sum two strings. Unless you are really deranged and you want it to be "C".