Hackerrank 레벨업하기 문제 Birthday Chocolate
def birthday(s, d, m): num = 0 for i in range(len(s)+1 - m): if sum(s[i:i+m]) == d: num += 1 return num
궁금하신게 있다면 메일 주세요. k2h7913@daum.net cafehero123@gmail.com
Copyright © All rights reserved | This template is made with by Colorlib