Using a Variable Inside the String

sveemani at gmail.com sveemani at gmail.com
Tue May 7 10:53:53 EDT 2019


On Tuesday, May 7, 2019 at 12:22:06 AM UTC+5:30, Chris Angelico wrote:
> On Tue, May 7, 2019 at 4:50 AM <sveemani at gmail.com> wrote:
> >
> > Hi all,
> >
> > I am new learner of python programming and I am into my basics.
> > I got  struck with the code in   a sample  program and refer the same with IDE and  googling which did not help me for more than a day.
> >
> > What is  wrong with  my last 2  lines?
> > what I am missing?
> >
> > ##################
> > my_weight = "80" # checking the double quotes
> 
> What does this mean? Especially, what does the comment mean?
> 
> ChrisA


Please ignore my  comment.  I am learning to code and I am practicing myself to add a comment for my reference.

Thanks for understanding ..



More information about the Python-list mailing list