Sunday, March 3, 2019

Split Function - Python3

a=[]
x=input("Enter a string with comma separated:")
a.append(x)
a=x.split(",")
print(a)

ScreenShot:

No comments:

Post a Comment