# Have the function QuestionsMarks(str) take the str string parameter, which will contain single digit numbers, letters, and quest

def QuestionsMarks(strParam): len0=len(strParam) sums=0 sum1=0 list1=list(strParam) for i,s in enumerate(strParam): if s.isdigit(): index=i break for j in range(i+1,len0): if strParam[j].isdigit(): index2=j break for k in range(index,index2+1): if strParam[k] in ['1','2','3','4','5','6','7','8','9']: sum1=sum1+int(strParam[k]) print(sum1) for m in range(index,index2+1): if strParam[m]=='?': sums=sums+1 if sum1>9 and sums==3: return True else: return False '''if sum>10: return True else: return False ''' # code goes here ##return index # keep this function call here print(QuestionsMarks(input())) the code is lengthy .i dont whats wrong in this "acc?4??sss?3rr9??????5" 7 False its showing False