Question #287815

if str1[-1].isdigit():



count+=1



Sum += int(temp)





I cant understand this part of the problem and also please explain the problem fully if it is possible

Expert's answer

it will the last character of a string if it is digit then it will increment the counter by 1


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS