没搞懂这里为啥报错
for number in range(100):if number%3 == 2 and number%5 == 3 and number%7 == 2:
print("答曰,这个数是".number)
运行报错
Traceback (most recent call last):
File "C:/Users/peng/Desktop/python文件/例4.6自主练.py", line 3, in <module>
print("答曰,这个数是".number)
AttributeError: 'str' object has no attribute 'number'