{"id":8771,"date":"2023-11-04T11:11:28","date_gmt":"2023-11-04T05:41:28","guid":{"rendered":"https:\/\/python-programs.com\/?p=8771"},"modified":"2023-11-10T12:16:42","modified_gmt":"2023-11-10T06:46:42","slug":"python-program-to-form-an-integer-that-has-the-number-of-digits-at-tens-place-and-the-least-significant-digit-of-the-entered-integer-at-ones-place","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-to-form-an-integer-that-has-the-number-of-digits-at-tens-place-and-the-least-significant-digit-of-the-entered-integer-at-ones-place\/","title":{"rendered":"Python Program to Form an Integer that has the Number of Digits at Ten\u2019s Place and the Least Significant Digit of the Entered Integer at One\u2019s Place"},"content":{"rendered":"

Given a number which is integer , the task is to create an integer with the number of digits at ten’s place and the least significant digit of the entered integer at one’s place.<\/p>\n

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

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

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

given number = 37913749<\/p>\n

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

The required number = 89<\/pre>\n

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

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

 given number =78329942<\/pre>\n

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

The required number = 82<\/pre>\n

Create an integer with the number of digits at ten’s place and the least significant digit of the entered integer at one’s place in Python<\/h2>\n

There are several ways to create an integer with the number of digits at ten’s place and the least significant digit of the entered integer at one’s place some of them are:<\/p>\n