Thank you!!

Zamurai zamurai at gmx.net
Mon Mar 5 10:46:54 EST 2001


Raymond Hettinger <othello at javanet.com> wrote:
> Zamurai wrote:
> 
> > I want to make the following:
> >
> > variableOne = 500
> > myVariable = variableOne + "cool"
> >
> > But I get the following error: "unsupported operand types for +"
> >
> > Does someone know how to solve the problem?
> 
> Try:
> myVariable = str(variableOne) + "cool"
 
Thank you!!



More information about the Python-list mailing list