这是代码。请帮我纠正它。
#!/usr/bin/env python
import sys
def print5times(line_to_print):
for count in range(0,5) :
print line_to_print
print5times(sys.argv[1])
运行此代码时,我收到此错误:
Traceback (most recent call last):
File "./func.py", line 9, in <module>
print5times(sys.argv[1])
IndexError: list index out of range