[ ASSIGNMENT: ] Next Palindromic Number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 28

[ ASSIGNMENT: ] Next Palindromic Number

TASK: You will be given a positive integer,  num. Create the function nextPal( ) that will output the smallest palindrome number higher than num. Input >> Output Examples:: nextPal(11) --> return 22 nextPal(188) --> return 191 nextPal(191) --> return 202 nextPal(2541) --> return 2552 NOTE: You will be receiving values higher than 10, all valid! HappyCodings!:) https://code.sololearn.com/WklnpoXLWJFH/?ref=app

8th Jun 2018, 6:53 PM
Danijel Ivanović
Danijel Ivanović - avatar
12 Answers
+ 26
https://code.sololearn.com/W2l66v18NiaZ/?ref=app
10th Jun 2018, 9:11 PM
MeanMachine
MeanMachine - avatar
9th Jul 2018, 10:26 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 19
Brent Meeusen These are the Assignments I have Submitted to the Lesson Factory!! 😀👍😃😉 // I've done it for months! 😄😊😆
8th Jun 2018, 9:53 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 18
Danijel Ivanović you're welcome it's my pleasure ! 😉😄😃😆👍✌
9th Jun 2018, 9:04 PM
Uni
Uni - avatar
8th Jun 2018, 7:33 PM
Muhammad Hasan
Muhammad Hasan - avatar
+ 12
Uni 😄😀👍😃😆 Thank you very much for support 👍😊 && taking part!! 😎👌😉
9th Jun 2018, 8:26 PM
Danijel Ivanović
Danijel Ivanović - avatar
25th Jun 2018, 10:14 AM
Salman
Salman - avatar
+ 6
https://code.sololearn.com/co3qvEL1fZuS/?ref=app
7th Sep 2018, 7:19 PM
...
13th Jun 2018, 5:33 AM
Francisco Casas
Francisco Casas - avatar
+ 3
25th Jun 2018, 7:12 AM
Salman
Salman - avatar