So I am trying to split a string s:
s = "l=2&w=3&h=2"
However whenever I try to use the split() function on s and store the values in list L, this comes up:
L = s.split()
L --> ['l=2&w=3&h=2']
Am I doing something wrong? How do I split this string so I get:
L = ['l','=','2','&','w','=','3','&','h','=','2']