Using a Variable Inside the String

Chris Angelico rosuav at gmail.com
Mon May 6 14:51:37 EDT 2019


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



More information about the Python-list mailing list