On Sun, 28 May 2006, linda.s wrote:

> When I test the following code,
> I got something like (use 80 as argument):
> 80?F=27?C
> Why '?' appear?


Hi Linda,

Let's compare the output to what we think is producing it.  The very last 
statement in the program looks like the thing we want to watch:

     print '%i\260F = %i\260C' % (int(fahrenheit), int(celsius+.5))

One thing that caught me off guard is the '\260' thing.  Can you explain 
what that is for?
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to