H2K INFOSYS PROVIDES WORLD CLASS SERVICES IN Array and Dictionary object Array has only index which is numeric Dictionary object has both key and item. Items can be any form…