a = "255.0.0.10" b = "255.0.0.10/32" print(a.split('/')) print(a.split('.')) print(b.split('/'))