[Tutor] counter

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Fri, 8 Feb 2002 13:36:43 -0800 (PST)


On Fri, 8 Feb 2002, Danny Yoo wrote:

> ###
> >>> number = "42"
> >>> int(number)
> >>> number
> '42'
> 42
> ###


Gaah!  Whoops, I cut and pasted wrong.  I meant:

###
>>> number = "42"
>>> number
'42'
>>> int(number)
42
###

My apologies for the confusion; that was careless of me.