For input 1,000,000 in python shell 3.3.2 i got (1, 0, 0) as an output and i got the point that python interprets 1,000,000 as comma-separated sequence of integers.
But for 6,09 i got syntax error. Why it is so?
For input 1,000,000 in python shell 3.3.2 i got (1, 0, 0) as an output and i got the point that python interprets 1,000,000 as comma-separated sequence of integers.
>>> a = 1,000,000
>>> a
(1, 0, 0)
>>> type(a)
<class 'tuple'>
Users browsing this forum: syam and 2 guests