String question

Runar Olsen runaro at stud.cs.uit.no
Wed Feb 16 14:59:38 EST 2000


I want the variable 'string' to be a string and not a list..
>>> n =10
>>> string = "n = ", n
>>> print string
('n = ', 10)

I want string to be "n = 10". How?

Runar







More information about the Python-list mailing list