why sometimes it is printout 1,11,13 and sometimes not? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

why sometimes it is printout 1,11,13 and sometimes not?

https://code.sololearn.com/crUyxhtytc3M/?ref=app I KNOW THAT “Dictionaries are an unordered collection, so their keys and values are iterated over in an arbitrary order.” Is THAT IS THE REASON FOR THAT 🧐?

28th Feb 2021, 5:25 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
2 Answers
+ 3
Wedad Saleh Interesting code 😃😃😃 Everytime getting different output
28th Feb 2021, 6:51 PM
A͢J
A͢J - avatar
+ 2
I didn't get the question ... The code prints a value (at line 11) whenever the value is found to be larger than <largest>. And prints the largest value of all the arrays in the end. If you only want to find the largest than there's no need to print any value inside the nested for loop I guess.
1st Mar 2021, 9:25 AM
Ipang