git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using a Variable Inside the String


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