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.
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.💪🏻
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
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.
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')
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
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!
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!
this question was asked in amazon interview
please do not say if u dont like it hit dislike coz there isnt any point of disliking ur explanation great one mate
👍
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!
Broo, it is amazing...So simple to understand your explanation is superb...❤
Thank you so much 😀
Really helpful ❤
Thanks!
this was so easy to understand!!! thank you!!!
You're so welcome!
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
thanku sir,
its much better usefull beginner like me. understanding in very easy way.
All the best
Bro you are a very very very .... good python programmer 👍👍
Thanks
crisp explanation
thank you :)
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.
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.
Thanks broo
It helps
Welcome 👍
Great vid, "if you didnt like then hit the dislike button" really got me
it was helped me bro thanks a lot
Glad to hear that
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
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')
Thank you sir❤
Most welcome :)
Very clear bro
Thank you 🙂
Really helpful , thank you so much 🎉
You're very welcome!
Why u r using in syntax these columns etc In python it no need right ?
that is syntax highlighting provided by the editor
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 do you now why it doesn't work with 'eval' command? the video is very usefull thanks
error: int object not subscriptable. Doesnt work in leetcode and other testing platforms.
Thanks
you made very easer this topic
Glad it helped
so simple , thank you sir
You are most welcome
man said if you dont like it hit the dislike button.this is somthing you will never hear in youtube
Thank you so so much! Really simple to understand
You're very welcome!
Thank you so much..♥️
You're welcome 😊
Thank you so much!
You're welcome!
Thanks man
Most welcome
what if the first letter is a capital, or checking a two word palindrome such as Bird rib
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.
Can you please give one for Fibonacci series and Armstrong number too?
i will try :)
easiest one !! Thanks A LOOOOTTTT
Welcome 😊
Nicely explained 👌 thanks sir 🙏
Most welcome
It would be beneficial if u explain tracing too
will try to do in upcoming video's :)
Thank you so much
You're most welcome
very easy program
yes
Very good 👍👌 I loved it
thank you :)
Sir can you explain slice method in manual
Good work here.
Thanks
very short and useful
thanks
TQ
Welcome
Love you bro
Thank you
We can use recursion
Woow. 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
thank you so much u taught in the easiest way
You are welcome!
st = input("enter")
if st[::-1] == st:
print ("palindrom")
else:
print("not")
But this is not for int data type
sir did you have a big process for finding
THANKSSS ANYWAYS
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
you're the first person ever to say IF YOU DONT LIKE IT HIT THE DISLIKE BUTTTTON BRUHHHH
Nice
Thanks
गुरू भगवान माता पिता जी सदा जय
:)
U have not specified string data type how to know if it store string value?
by default it is a string in python programs
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
its not working dude , i typed the same thing but it does not work
Perfect)👌👌👌❤
thanks
Good video
Thanks
Easiest method exists 😉😅
but when the first letter is capital in Madam if we reverse it will be false how to equal capital M with small m
Why two colons in slicing of string
AMAZINGGG
thanks
I/p: Madam
And
O/p: palindrome
How to write a program explain me bro
yum !
Thank you for sharing...
Pleasure :)
Badiya
thank you :)
M = yam
yoi can do it with the loop
think simple , simplicity is the key :0
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 :)
I LOVE YOU
:)
Don't get offended but is em num yum
A palindrome, not palindrome
very short and usefull
Nice
Thanks
very short and usefull