guys how to code and think how to make a program who could recognize the strobogrammatic number | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

guys how to code and think how to make a program who could recognize the strobogrammatic number

A strobogrammatic number is a number whose numeral is rotationally symmetric, so that it appears the same when rotated 180 degrees. In other words, the numeral looks the same right-side up and upside down (e.g., 69, 96, 1001).

25th Nov 2019, 5:00 PM
Mahmoud Hamed
Mahmoud Hamed - avatar
1 Réponse
+ 1
Here's one possible solution. The function expects the number represented as string. https://code.sololearn.com/cz8PAHTdNEBM/?ref=app
25th Jan 2023, 1:18 PM
Евгений
Евгений - avatar