lundi 7 décembre 2015

Printing a list as variable values

How would I print a list of strings as their individual variable values?

For example, take this code:

a=1
b=2
c=3
text="abc"
splittext = text.split(text)
print(splittext)

How would I get this to output 123?





Aucun commentaire:

Enregistrer un commentaire