How would the answer be 7 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How would the answer be 7

I had contribute in a challenge Don't know how would the true answer be 7 instead 6 s1=frozenset([0,1,1]) s2=frozenset([1,2,3,3,2]) s3={s1,s2} total=0 for e in s3: total += sum(e) print(total)

6th Sep 2020, 5:56 AM
Somaie Eftekharnoori
Somaie Eftekharnoori - avatar
1 Answer
+ 1
You are right. Counted the states
7th Sep 2020, 5:58 AM
Somaie Eftekharnoori
Somaie Eftekharnoori - avatar