#P1860. 用 Python 自动写代码
用 Python 自动写代码
题目描述
用 Python 自动写代码
输入
输入格式如下:
func_name = ['foo', 'prime', 'compare', '__main']
with open('auto.py', 'w') as f:
c = f.write(
f'''
'''
)
用 Python 自动写代码
输入格式如下:
func_name = ['foo', 'prime', 'compare', '__main']
with open('auto.py', 'w') as f:
c = f.write(
f'''
'''
)