{"id":15118,"date":"2021-09-30T17:00:36","date_gmt":"2021-09-30T11:30:36","guid":{"rendered":"https:\/\/python-programs.com\/?p=15118"},"modified":"2021-11-22T18:33:34","modified_gmt":"2021-11-22T13:03:34","slug":"python-program-for-neon-number","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-for-neon-number\/","title":{"rendered":"Python Program for Neon Number"},"content":{"rendered":"

Are you new to the java programming language? We recommend you to ace up your practice session with these Basic Java Programs Examples<\/a><\/p>\n

Given a number, the task is to check whether the given number is a Neon Number or not in Python.<\/p>\n

Neon Number:<\/strong><\/p>\n

A Neon Number is a number whose square sum of digits equals the original number.<\/p>\n

Ex: 9<\/p>\n

Square of 9 =81<\/p>\n

Sum of digits of square = 8 +1 =9 ,So it is Neon Number<\/p>\n

Examples:<\/strong><\/p>\n

Example1:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

Given Number = 9<\/pre>\n

Output:<\/strong><\/p>\n

The Given Number [ 9 ] is a neon Number<\/pre>\n

Example2:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

Given Number =123<\/pre>\n

Output:<\/strong><\/p>\n

The Given Number [ 123 ] is not a neon Number<\/pre>\n

Program for Neon Number in Python<\/h2>\n

Below are the ways to check whether the given number is a Neon Number or Not.<\/p>\n