squares = value13==0 for value in range330printsquaresprintminsquaresprintmaxsquares完善代码
squares = [(value**2)/3==0 for value in range(3,30)] print(squares) print(any(squares)) print(all(squares))
原文地址: http://www.cveoy.top/t/topic/fmgr 著作权归作者所有。请勿转载和采集!