要求s包括大写字母、小写字母、数字以及其它字符。请找出下面代码的两处错误( )
def check(s):
c=0
flag=[0]*4
for i in s:
if "0"<=i<="9": #①
flag[0]=1
elif 65<= ord(i)<=90:
flag[1]=1
elif 97<= ord(i)<=122:
flag[2]=1
else:
flag[3]=1
for j in range(4):
c=c+flag # ②
if c=4: #③
return True
return False #④