Solution to a HackerRank program You will be given a string. You need to Split the string on a " " (space) delimiter and join using a - hyphen. Here we use two python inbuilt function
1) split() : The split() method splits a string into a list. You can specify the separator, default separator is any whitespace.
2) join() : The join() method takes all items in an iterable and joins them into one string. A string must be specified as the separator.
На этой странице сайта вы можете посмотреть видео онлайн Python for Beginners | Strng Split and Join | Hackerrank Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь oneinyou 25 Апрель 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 12 раз и оно понравилось 1 зрителям. Приятного просмотра!