18 lines
479 B
Plaintext
18 lines
479 B
Plaintext
|
|
from PABCSystem import Object as obj, Write as pas_print
|
||
|
|
from SPythonSystem import range, len
|
||
|
|
|
||
|
|
def print(*args: obj, **kwargs: str):
|
||
|
|
sep: str = ' '
|
||
|
|
end: str = '\n'
|
||
|
|
if 'sep' in kwargs.get_keys():
|
||
|
|
sep = kwargs['sep']
|
||
|
|
if 'end' in kwargs.get_keys():
|
||
|
|
end = kwargs['end']
|
||
|
|
|
||
|
|
for i in range(0, len(args) - 1):
|
||
|
|
pas_print(args[i])
|
||
|
|
pas_print(sep)
|
||
|
|
|
||
|
|
if len(args) != 0:
|
||
|
|
pas_print(args[len(args) - 1])
|
||
|
|
pas_print(end)
|