Need Help in Python
Robert M. Emmons
RobMEmmons at cs.com
Tue May 4 22:21:03 EDT 2004
Mahmood Mashal wrote:
> Hello everyone. I started programming in Python like a month ago and i
> have a problem. I want the program that I am writing to use a
> character to draw a box. How can i declare that character as a
> variable? If anyone could help me. Thanks
Python has no declaration. Character strings are like any other variable:
x = "a"
or
x = "abcdef"
or
x = chr(35)
Several options.
Rob
More information about the Python-list
mailing list