Skip to main content
Asked a question 3 years ago

What is the output of the following code :s=0 d1={"cat":12,"dog":6,"elephant":23,"bear":20} for a in d1: if len(a)>3: s=s+d1[a] print (s) {I know the answer but don't know how it came }

Sign Up to score 💯 in class 12 computer science

Related Questions

No related questions.