I have this variable called var1
:
var1 = tweet[0]["id_str"]
When I just type var1
on the console, this is the output:
>>> var1
u'528427823468642304'
But, then I print var1
, this is the output:
>>> print var1
528427823468642304
Why are the outputs different? I need only the numbers, without the single quotes or the letter u
, but the two different outputs are confusing me..