Palindrome Program in Python

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 159

  • @ajitmoseschaparla2117
    @ajitmoseschaparla2117 3 роки тому +18

    please do not say if u dont like it hit dislike coz there isnt any point of disliking ur explanation great one mate

  • @judeaf.4393
    @judeaf.4393 2 роки тому +45

    You made this super simple to understand. Now I can do a deep dive on this concept now that I know the basic concept. Thank you sir for this video. Greatly appreciate it.

  • @jasonthomas9975
    @jasonthomas9975 2 роки тому +6

    the code for this same program is given in a very big way in cbse. urs is super small and suuuper simple. thank u for the help.

  • @INFINITE_VOID_11
    @INFINITE_VOID_11 Рік тому +2

    Couldn't find the class notes so i came to yt...directly found the easiest way... thank you bro!!

  • @solvewithme6819
    @solvewithme6819 2 роки тому +11

    Thanks sir 😊 my teacher teach this topic in very difficult manner, you made this easy thanks a lot sir👏👏🌹🍾

  • @RanjanLal_
    @RanjanLal_ 2 роки тому +3

    Super simple,,, i just subscribed your channel because of this program otherwise at my school it is super lengthy and confusing

  • @samuelabera8262
    @samuelabera8262 Рік тому +3

    You saved my grade.I was really challenging myself to understand palindrome and i used a different method for string and number,but the code you explained works for both string and number at once.thanks alot

  • @povthoughts
    @povthoughts 17 днів тому +2

    U made this very easy thank you

  • @lovelyvenkat5858
    @lovelyvenkat5858 Рік тому +1

    Broo, it is amazing...So simple to understand your explanation is superb...❤

  • @meyou3135
    @meyou3135 4 місяці тому +1

    Thank you so much for this simple method. I was literally struggling with this and tomorrow's my exam. Your video helped me so much. Thank you for this.
    You are so underrated, dude. Keep going.💪🏻

  • @DIFFERENTCREATOR
    @DIFFERENTCREATOR 3 роки тому +3

    Bro you are a very very very .... good python programmer 👍👍

  • @malavikarnambiar7901
    @malavikarnambiar7901 7 місяців тому +1

    this was so easy to understand!!! thank you!!!

  • @vineethkurapati5254
    @vineethkurapati5254 3 роки тому +2

    thanku sir,
    its much better usefull beginner like me. understanding in very easy way.

  • @vedantstudy_09
    @vedantstudy_09 9 місяців тому +1

    you can understand student's feeling...thank you

  • @karthickvishal4286
    @karthickvishal4286 4 місяці тому +1

    Thank yuo so much brother
    it was very very useful

  • @anishdiwaker2341
    @anishdiwaker2341 3 роки тому +13

    Thank you so much for this sir it was the easiest way to understand

  • @jagdish8119
    @jagdish8119 3 місяці тому +2

    Really helpful ❤

  • @r7anubis758
    @r7anubis758 Рік тому +1

    I think this is one of the easiest methods. Other methods involve taking the length of the word, dividing it by 2, and some further processes.

  • @Prassana_moorthy
    @Prassana_moorthy Рік тому +1

    Really helpful , thank you so much 🎉

  • @VihaanBudhraja
    @VihaanBudhraja 11 місяців тому +1

    Great vid, "if you didnt like then hit the dislike button" really got me

  • @lukyluca46
    @lukyluca46 3 роки тому +6

    could you help me with adding palindromes to text file? here is code: string = input('Enter the string: ')
    reverse_string = string[::-1]
    if string == reverse_string:
    print('string is palindrome')
    else:
    print('string is not palindrome')

  • @Harikumar_ganesh
    @Harikumar_ganesh Рік тому +1

    Very clear bro

  • @sowjanyasuresh7161
    @sowjanyasuresh7161 Рік тому +1

    crisp explanation

  • @AchalModake1106
    @AchalModake1106 2 роки тому +1

    Nicely explained 👌 thanks sir 🙏

  • @SakthiAnandA
    @SakthiAnandA 3 місяці тому +1

    it was helped me bro thanks a lot

  • @SheelaDevi-wn4rb
    @SheelaDevi-wn4rb 5 років тому +2

    Very good 👍👌 I loved it

  • @arabiamir4751
    @arabiamir4751 2 роки тому +1

    Hello
    I find your tutorial so easy to understand.
    If I need a help for a particular problem, how can I reach you pls?

  • @47_i_yashawasthi29
    @47_i_yashawasthi29 2 роки тому +1

    Thanks broo
    It helps

  • @rishiraj6140
    @rishiraj6140 3 роки тому +1

    so simple , thank you sir

  • @davidee2183
    @davidee2183 3 роки тому +2

    bro do you now why it doesn't work with 'eval' command? the video is very usefull thanks

  • @VarburnCeator678
    @VarburnCeator678 4 місяці тому +1

    Thank you sir❤

  • @sonamgyansapa6298
    @sonamgyansapa6298 2 роки тому +1

    In our college this simple program is also seems like a hard one wtf
    Buh u teach well now i can do it for my exam
    Buh i have a que what if que is like wapp to adisplay a palindrome using while and if else

    • @ExampleProgram
      @ExampleProgram  2 роки тому

      i will try to make video about using loop and if else for palindrome program.
      to be honest, the method explained in your college will help you to learn programming in a better way.

  • @JJJJ-gl2uf
    @JJJJ-gl2uf 2 роки тому

    Good work here.

  • @TejaswaniARTS7340
    @TejaswaniARTS7340 3 роки тому +2

    Why u r using in syntax these columns etc In python it no need right ?

    • @ExampleProgram
      @ExampleProgram  3 роки тому

      that is syntax highlighting provided by the editor

  • @danielalarcons1584
    @danielalarcons1584 2 роки тому +1

    Thank you so so much! Really simple to understand

  • @ganvichouhan4997
    @ganvichouhan4997 2 роки тому +1

    Thank you so much..♥️

  • @ajosecortes
    @ajosecortes 3 роки тому +2

    Woow. Nice

  • @Williamsxeth
    @Williamsxeth Місяць тому +1

    Thanks a lot homes ❤

  • @-Sahasra-bg7yw
    @-Sahasra-bg7yw 3 роки тому +1

    It would be beneficial if u explain tracing too

  • @tarlan5966
    @tarlan5966 3 роки тому +1

    very short and useful

  • @taqi.elizadekh1071
    @taqi.elizadekh1071 3 роки тому +3

    Perfect)👌👌👌❤

  • @dd4khufia547
    @dd4khufia547 2 роки тому +1

    Can you please give one for Fibonacci series and Armstrong number too?

  • @vaishnavi6527
    @vaishnavi6527 4 дні тому

    Is this need prior knowledge of Data structure?

  • @sriharsha_10
    @sriharsha_10 Рік тому +1

    error: int object not subscriptable. Doesnt work in leetcode and other testing platforms.

  • @sakshisapkale3507
    @sakshisapkale3507 2 роки тому

    easiest one !! Thanks A LOOOOTTTT

  • @harrypotter-eq3zu
    @harrypotter-eq3zu 2 роки тому +1

    man said if you dont like it hit the dislike button.this is somthing you will never hear in youtube

  • @jeevanrahul
    @jeevanrahul Рік тому

    Wonder why your school/college taught a lengthy code?
    Because, Using that method avoids the need to convert the number to a string, which can be less efficient in terms of memory usage and performance compared to arithmetic operations. However, both approaches are valid, and the choice depends on factors such as readability, performance requirements, and personal preference.

  • @MohammedKaleem95
    @MohammedKaleem95 3 роки тому +1

    Bro if first letter is capital in Madam word then how to check, Bec it says it's not palindrom if I put first letter of madam in capital letter!! Can you help me with syntax!!

    • @ExampleProgram
      @ExampleProgram  3 роки тому

      convert your input string to lower case or upper case and then apply this code

    • @MohammedKaleem95
      @MohammedKaleem95 3 роки тому

      @@ExampleProgram Bro i did! I converted into lower upper and Even tried title function still not work.

  • @rao1199
    @rao1199 2 роки тому +1

    very easy program

  • @sumitsonar5683
    @sumitsonar5683 3 роки тому +1

    thank you so much u taught in the easiest way

  • @adityagupta7731
    @adityagupta7731 3 роки тому +2

    Good video

  • @jianaguelo7684
    @jianaguelo7684 3 роки тому +1

    Thank you so much

  • @BankoleAyodeleMEG
    @BankoleAyodeleMEG 2 роки тому +1

    Thanks man

  • @tamildevineseries3157
    @tamildevineseries3157 7 місяців тому

    Sir can you explain slice method in manual

  • @sky_._
    @sky_._ 3 роки тому +1

    Love you bro

  • @onlyfun2505
    @onlyfun2505 Рік тому +1

    Thanks
    you made very easer this topic

  • @mishuk2008
    @mishuk2008 4 місяці тому

    what if the first letter is a capital, or checking a two word palindrome such as Bird rib

  • @TheRAGE-d5i
    @TheRAGE-d5i 3 роки тому

    sir did you have a big process for finding

  • @ScalpersInc
    @ScalpersInc 2 місяці тому +1

    Thanks brother

  • @rajasaror1911
    @rajasaror1911 3 роки тому

    Please can u explain using nested for loop and if condition otherwise please tell after first for loop iteration in it another for loop and first iteration later how should I go to first for loop

    • @rajasaror1911
      @rajasaror1911 3 роки тому

      Without checking second iteration in second for loop

  • @berrylace5629
    @berrylace5629 2 роки тому +1

    AMAZINGGG

  • @joshibrothers5499
    @joshibrothers5499 2 роки тому +1

    Nice

  • @mayank9447
    @mayank9447 3 роки тому +1

    Sir ise aur easy karne ke liye no ko string mein fir list mein convert kar do fir wo list ko no[::-1] ==no karne se pata chal jayega

    • @ExampleProgram
      @ExampleProgram  3 роки тому

      yahan mein number ko kaise check kar sakte hain uske baare mein bataya hoon.
      aapne jo kaha wo bhi kar sakte hain

  • @azizulhaouqe4150
    @azizulhaouqe4150 2 роки тому

    We can use recursion

  • @ankushshah5422
    @ankushshah5422 2 роки тому

    U have not specified string data type how to know if it store string value?

  • @chintadineshkumar1470
    @chintadineshkumar1470 2 роки тому

    but when the first letter is capital in Madam if we reverse it will be false how to equal capital M with small m

  • @Tw8fans
    @Tw8fans Місяць тому +1

    Thanks bro

  • @trynabeaperfectperson4873
    @trynabeaperfectperson4873 Рік тому +1

    Easiest method exists 😉😅

  • @snigsss
    @snigsss 3 роки тому +3

    MY!👏MIND!👏IS!👏BLOWN!👏
    I do it in a much lengthier way...this is shorter than looping also omg
    How come I never thought of this..JUST WHYY
    damn bro damn

  • @poiuytrewq-d8e
    @poiuytrewq-d8e 9 місяців тому +1

    TQ

  • @GamingZone-ol3qu
    @GamingZone-ol3qu 4 роки тому +1

    Badiya

  • @joshikaran-zm2ju
    @joshikaran-zm2ju Рік тому

    st = input("enter")
    if st[::-1] == st:
    print ("palindrom")
    else:
    print("not")

  • @SHEEREENNISMA
    @SHEEREENNISMA 3 роки тому +1

    Thank you for sharing...

  • @bhavanshipatel2091
    @bhavanshipatel2091 2 роки тому

    THANKSSS ANYWAYS

  • @maheshshingade8299
    @maheshshingade8299 Рік тому +1

    But this is not for int data type

  • @flynneugene2675
    @flynneugene2675 Рік тому

    its not working dude , i typed the same thing but it does not work

  • @vinaysaunshi8102
    @vinaysaunshi8102 3 роки тому

    Why two colons in slicing of string

  • @siddharthvashist1409
    @siddharthvashist1409 Рік тому +1

    yum !

  • @अभयदीप-ज1ग
    @अभयदीप-ज1ग 3 місяці тому +1

    गुरू भगवान माता पिता जी सदा जय

  • @bigilanil8055
    @bigilanil8055 2 місяці тому

    WRONG ANSWER CODE HAS ERROR CHECK PROPERLY

  • @youngmahesh6885
    @youngmahesh6885 2 роки тому

    I/p: Madam
    And
    O/p: palindrome
    How to write a program explain me bro

  • @bhavanshipatel2091
    @bhavanshipatel2091 2 роки тому

    you're the first person ever to say IF YOU DONT LIKE IT HIT THE DISLIKE BUTTTTON BRUHHHH

  • @oldguitarist-pl
    @oldguitarist-pl Рік тому

    yoi can do it with the loop

  • @joshikaran-zm2ju
    @joshikaran-zm2ju Рік тому

    think simple , simplicity is the key :0

  • @mariananunes6131
    @mariananunes6131 3 роки тому +1

    I LOVE YOU

  • @47_i_yashawasthi29
    @47_i_yashawasthi29 2 роки тому +1

    Tomorrow is my exam 😫

  • @Ilham-bm2ss
    @Ilham-bm2ss 5 місяців тому

    M = yam

  • @codewithdoge
    @codewithdoge 3 роки тому

    Don't get offended but is em num yum

  • @CaptainBenjamins
    @CaptainBenjamins Рік тому

    A palindrome, not palindrome

  • @karandeepsingh1058
    @karandeepsingh1058 2 роки тому +1

    Nice

  • @tarlan5966
    @tarlan5966 3 роки тому

    very short and usefull

  • @tarlan5966
    @tarlan5966 3 роки тому

    very short and usefull