def writeln(x=''):
"""
Write x and an end-of-line mark to standard output.
"""
if sys.hexversion < 0x03000000:
x = unicode(x)
x = x.encode('utf-8')
else:
x = str(x)
sys.stdout.write(x)
sys.stdout.write('\n')
sys.stdout.flush()
#-----------------------------------------------------------------------
评论列表
文章目录