for s, c in(("a|b|c|d|e|f|g",","),("abcdefg",":"),("4|8|15|16|23|42","%"),("E|ac|h s|ecti|on is| one c|haracte|r longer| than the| last!","!"),("This|Code|has||empty||sections","@")):
Input:
('a|b|c|d|e|f|g', ',')
Output:
a #
b #
c #
d #
e #
f #
g ,
Input:
('abcdefg', ':')
Output:
abcdefg :
Input:
('4|8|15|16|23|42', '%')
Output:
4 #
8 #
15 #
16 #
23 #
42 %
Input:
('E|ac|h s|ecti|on is| one c|haracte|r longer| than the| last!', '!')
Output:
E #
ac #
h s #
ecti #
on is #
one c #
haracte #
r longer #
than the #
last! !
Input:
('This|Code|has||empty||sections', '@')
Output:
This #
Code #
has #
#
empty #
#
sections @