Q6. Write a Program To REVERSE internal content of every second word present in the given string?

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 14

  • @tejabtitare5169
    @tejabtitare5169 6 лет назад +1

    fabalus explaination.

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  6 лет назад +1

      Hello Tejab Titare.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other python videos by Durga sir in the following link
      goo.gl/EapLMr

  • @venkateshM-sh1or
    @venkateshM-sh1or 2 года назад +1

    i want for loop then what i will do

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  2 года назад

      Hello Venkatesh.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @rajalakshmis201
    @rajalakshmis201 5 лет назад +1

    Great man.. Simple and clear explanation

  • @sujithgoud3535
    @sujithgoud3535 4 года назад +1

    Ty sir

  • @imranbasha4734
    @imranbasha4734 4 года назад +2

    Plese post more Interview videos , it was very helpful for common peoples

  • @HG-mt3vl
    @HG-mt3vl 6 лет назад +1

    Great video by the way, thanks for your effort.

  • @mahalakshmibolisetty5746
    @mahalakshmibolisetty5746 3 года назад +1

    Sir can u please tell how it is getting output with out importing packages
    Plsss..... Tell me sir

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  3 года назад

      Hello Maha.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @vikaskumar-qr5tj
    @vikaskumar-qr5tj 6 лет назад +1

    Sir please provide string manipulations programs in java too plz...

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  6 лет назад

      Hello Vikas.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @HG-mt3vl
    @HG-mt3vl 6 лет назад +1

    my solution without looking at your solution is :
    def reverser(my_string=""):
    spx = my_string.split()
    neW_spx = [spx[x][::-1] for x in range(0,len(spx)) if x%2!=0]
    spx[1::2]=neW_spx
    return ' '.join(spx)