We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
My eyes are bleeding here.
Why did you need the "i" for ? If you need each element in a list just ask "for element in list".
If you need to name each element in list just ask for "element1, element2, element3 = list"
And why would you write something twice ?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Dynamic Array
You are viewing a single comment's thread. Return to all comments →
My eyes are bleeding here. Why did you need the "i" for ? If you need each element in a list just ask "for element in list". If you need to name each element in list just ask for "element1, element2, element3 = list" And why would you write something twice ?