[Tutor] Re: number conversion problem (was: Re: [no subject])

Dragonfirebane at aol.com Dragonfirebane at aol.com
Tue Jun 8 18:01:20 EDT 2004

In a message dated 6/8/2004 5:17:15 PM Eastern Daylight Time, lsloan-000002 at umich.edu writes:

> What do you expect the variable "char" to contain?  A single character of 
> the user's input string, one character at a time until you reach the end of 
> the string?
> If so, you're going to need a line like this somewhere just 
> before you 
> reference "char":
>      for char in original:

I tried this, and it wouldn't let me run the program and highlighted the closing quote as the culprit, claiming invalid syntax . . . 

"n thats the way the cookie crumbles"

America's Favorite Cookie

More information about the Tutor mailing list