Header Ads

Responsive Ads Here

Join & Split Function

 Join & Split Function



#split function
# str ---> list

string = "Xtra Coding"
print(string.split(" "))


# join function
# list ----> str
l = ["Xtra", "Coding"]
print(" ".join(l))

Powered by Blogger.