Iam learning python, Some of my codes couldn’t, pass the second subtasks. I dont know why its happening, what should i learn? where i make mistakes?
Here’s my code for Chewing Gum problem which clears Subtask 1 but not 2nd!
Thanks in Advance…
Hardness= list(map(int,input().split())) [:N]
for i in Hardness:
for i in range(0,N-1):
for j in range(k,N):