+ 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 đ§?
2 Answers
+ 3
Wedad Saleh
Interesting code đđđ
Everytime getting different output
+ 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.