الكود بيتأكد اذا كانت الكلمة او الرقم Palindrome (يتقري من قدام زي من ورا) بعد مايحذف الاصفار اللي في اخره.
طريقة تنفيذ الكود:
1. يقرأ المدخل كسلسلة نصية (string).
2. يحذف أي أصفار موجودة في آخر السلسلة.
3. يقارن أول حرف مع آخر حرف بالتتابع لحد النص.
4. لو كل المقارنات متطابقة → يطبع Yes.
5. لو فيه اختلاف → يطبع No.
------------------------------------------------------------------------------------------------------------------------
The code checks whether a given string or number is a palindrome (reads the same forward and backward) after removing trailing zeros.
How to execute the code :
1. Read the input as a string.
2. Remove all trailing zeros from the string.
3. Compare characters from the beginning and the end moving towards the middle.
4. If all comparisons match → print Yes.
5. If any mismatch is found → print No.