Fix separator inside print by xaerru · Pull Request #2820 · lcompilers/lpython
I think global_sep_space isn't needed because we set the sep to " " as the default when it's not specified.
I couldn't figure out why that if condition of two consecutive non characters was in place and also why sep_no_space was used.
When the if condition of two consecutive non characters was false, the empty separator was being pushed.