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.
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
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.💪🏻
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')
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
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.
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.
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!!
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
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
please do not say if u dont like it hit dislike coz there isnt any point of disliking ur explanation great one mate
👍
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.
Glad it was helpful!
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.
Glad it helped
Couldn't find the class notes so i came to yt...directly found the easiest way... thank you bro!!
Welcome 👍
Thanks sir 😊 my teacher teach this topic in very difficult manner, you made this easy thanks a lot sir👏👏🌹🍾
glad my video helped you :)
Super simple,,, i just subscribed your channel because of this program otherwise at my school it is super lengthy and confusing
thanks and welcome :)
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
Glad it helped!
U made this very easy thank you
Most welcome :)
Broo, it is amazing...So simple to understand your explanation is superb...❤
Thank you so much 😀
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.💪🏻
Glad it helped!
Bro you are a very very very .... good python programmer 👍👍
Thanks
this was so easy to understand!!! thank you!!!
You're so welcome!
thanku sir,
its much better usefull beginner like me. understanding in very easy way.
All the best
you can understand student's feeling...thank you
most welcome :)
Thank yuo so much brother
it was very very useful
Glad my video helped you :)
Thank you so much for this sir it was the easiest way to understand
You are most welcome
Really helpful ❤
Thanks!
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.
Really helpful , thank you so much 🎉
You're very welcome!
Great vid, "if you didnt like then hit the dislike button" really got me
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')
Very clear bro
Thank you 🙂
crisp explanation
thank you :)
Nicely explained 👌 thanks sir 🙏
Most welcome
it was helped me bro thanks a lot
Glad to hear that
Very good 👍👌 I loved it
thank you :)
Hello
I find your tutorial so easy to understand.
If I need a help for a particular problem, how can I reach you pls?
post your comments on my video's
Thanks broo
It helps
Welcome 👍
so simple , thank you sir
You are most welcome
bro do you now why it doesn't work with 'eval' command? the video is very usefull thanks
Thank you sir❤
Most welcome :)
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
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.
Good work here.
Thanks
Why u r using in syntax these columns etc In python it no need right ?
that is syntax highlighting provided by the editor
Thank you so so much! Really simple to understand
You're very welcome!
Thank you so much..♥️
You're welcome 😊
Woow. Nice
Thanks 😊
Thanks a lot homes ❤
You're welcome 😊
It would be beneficial if u explain tracing too
will try to do in upcoming video's :)
very short and useful
thanks
Perfect)👌👌👌❤
thanks
Can you please give one for Fibonacci series and Armstrong number too?
i will try :)
Is this need prior knowledge of Data structure?
error: int object not subscriptable. Doesnt work in leetcode and other testing platforms.
easiest one !! Thanks A LOOOOTTTT
Welcome 😊
man said if you dont like it hit the dislike button.this is somthing you will never hear in youtube
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.
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!!
convert your input string to lower case or upper case and then apply this code
@@ExampleProgram Bro i did! I converted into lower upper and Even tried title function still not work.
very easy program
yes
thank you so much u taught in the easiest way
You are welcome!
Good video
Thanks
Thank you so much
You're most welcome
Thanks man
Most welcome
Sir can you explain slice method in manual
Love you bro
Thank you
Thanks
you made very easer this topic
Glad it helped
what if the first letter is a capital, or checking a two word palindrome such as Bird rib
sir did you have a big process for finding
Thanks brother
Welcome
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
Without checking second iteration in second for loop
AMAZINGGG
thanks
Nice
Thanks
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
yahan mein number ko kaise check kar sakte hain uske baare mein bataya hoon.
aapne jo kaha wo bhi kar sakte hain
We can use recursion
U have not specified string data type how to know if it store string value?
by default it is a string in python programs
but when the first letter is capital in Madam if we reverse it will be false how to equal capital M with small m
Thanks bro
Welcome
Easiest method exists 😉😅
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
TQ
Welcome
Badiya
thank you :)
st = input("enter")
if st[::-1] == st:
print ("palindrom")
else:
print("not")
Thank you for sharing...
Pleasure :)
THANKSSS ANYWAYS
But this is not for int data type
It does work for numbers too.
its not working dude , i typed the same thing but it does not work
Why two colons in slicing of string
yum !
गुरू भगवान माता पिता जी सदा जय
:)
WRONG ANSWER CODE HAS ERROR CHECK PROPERLY
I/p: Madam
And
O/p: palindrome
How to write a program explain me bro
you're the first person ever to say IF YOU DONT LIKE IT HIT THE DISLIKE BUTTTTON BRUHHHH
yoi can do it with the loop
think simple , simplicity is the key :0
I LOVE YOU
:)
Tomorrow is my exam 😫
All the best :)
@@ExampleProgram bhai fail honge lagta h
Kuch nhi aata yaar
Dukh h bahut
But Thanks
confidence rakho.
daro math :)
M = yam
Don't get offended but is em num yum
A palindrome, not palindrome
Nice
Thanks
very short and usefull
very short and usefull