You are viewing a single comment's thread. Return to all comments →
def count_elements(lst): count = 0 for _ in lst: count += 1 return count Rent a car in Lahore
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
List Length
You are viewing a single comment's thread. Return to all comments →
def count_elements(lst): count = 0 for _ in lst: count += 1 return count Rent a car in Lahore