Simply specify the tabstop, like this:
arganzuela has 474 labels
retiro has 263 labels
salamanca has 235 labels
print (list_of_keys[i][0]+"\thas "+str(list_of_values[i])+" labels").expandtabs(15)and this is what you get
arganzuela has 474 labels
retiro has 263 labels
salamanca has 235 labels
No comments:
Post a Comment