Im taking info from my school grade site and its coming out as a long string this is the output:
[u'--']
[u'B', u'84']
[u'--']
[u'A-', u'90']
[u'--']
[u'C+', u'79']
[u'--']
[u'A', u'95']
[u'--']
[u'B', u'82']
[u'--']
[u'B', u'81']
Im using this to get the out put
for cell in driver.find_elements_by_css_selector(".grid tr a[href$='fg=S2']"):
gradesList = cell.text.split('\n')
print gradesList
i want to assign each of the grades a variable but im not sure how to get them all to separate to each variable