def Convert(s):
p = s.split(",")
return (int(p[0]), int(p[1]))
1
solved How to convert ‘1,2’ into a tuple (1,2) in python?
def Convert(s):
p = s.split(",")
return (int(p[0]), int(p[1]))
1
solved How to convert ‘1,2’ into a tuple (1,2) in python?