guys how to code and think how to make a program who could recognize the strobogrammatic number | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
+ 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