How can we change image according to weather API array

Did a silly mistake inside the list instead of writing get #1 i was writing get #3.
Thank you so much for your help i really appreciate all the help you gave. replying to all my queries and help me in all.