try this print str(counter) + "\n" + str(miles) + "\n"+ name

On Thu, Apr 16, 2009 at 11:24 PM, mbikinyi brat <[email protected]>wrote:

> **
> *Dear ALL,*
> I have defined variables as below and when I call them using the print
> function, I have something discontinous as in pink colour. How do I call it
> so that my output should be as in blue
> *>>> counter=101
> >>> miles=1000
> >>> name="joe"
> *
> >>> print counter
> 101
> >>> print miles
> 1000
> >>> print name
> joe
> >>>
> What I want:(Output)
>
> 101
> 1000
> joe
> Regards,
> Henry
>
>
> _______________________________________________
> Tutor maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/tutor
>
>


-- 
Cheers,
Vishwajeet
http://www.singhvishwajeet.com
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to