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.
I think it should return a string, for example, my_string = ''.join(my_list). This line of code means to concatenate all the elements in a list called my_list into a single string, and store the result in the my_string variable.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Text Wrap
You are viewing a single comment's thread. Return to all comments →
I think it should return a string, for example, my_string = ''.join(my_list). This line of code means to concatenate all the elements in a list called my_list into a single string, and store the result in the my_string variable.