列表换行join函数
int = '\n' float = ' ' str = [] a = input('任务名称:\n') b = input('等级限制 最低等级:\n') c = input('最高等级:\n') d = input('任务简介:\n') str.append(a) str.append('%s~%s' % (b, c)) str.append('——————————————') str.append(d) print('————任务名称—————\n'+float.join(str[0])) print('____推荐等级_____\n'+int.join(str[1:]))
Warning: Undefined variable $aria_req in /www/wwwroot/l.lvovl.cn/wp-content/themes/JieStyle-Two-master/comments.php on line 26
Warning: Undefined variable $aria_req in /www/wwwroot/l.lvovl.cn/wp-content/themes/JieStyle-Two-master/comments.php on line 27
Warning: Undefined variable $aria_req in /www/wwwroot/l.lvovl.cn/wp-content/themes/JieStyle-Two-master/comments.php on line 28