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.
Sur cette page du site, vous pouvez voir la vidéo en ligne Python for Beginners | Strng Split and Join | Hackerrank Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur oneinyou 25 avril 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 12 fois et il a aimé 1 téléspectateurs. Bon visionnage!