{"id":22240,"date":"2021-09-23T19:10:05","date_gmt":"2021-09-23T13:40:05","guid":{"rendered":"https:\/\/python-programs.com\/?p=22240"},"modified":"2021-11-22T18:35:41","modified_gmt":"2021-11-22T13:05:41","slug":"python-program-to-print-series-1-22-333-4444-n","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-to-print-series-1-22-333-4444-n\/","title":{"rendered":"Python Program to Print Series 1, 22, 333, 4444…n"},"content":{"rendered":"

In the previous article, we have discussed Python Program to Print Series 6, 11, 21, 36, 56…n<\/a>
\nGiven a number N and the task is to print the series (1,22,333,4444…N) <\/strong>for\u00a0the given number N in Python.<\/p>\n

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

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

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

Given Number = 5<\/pre>\n

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

The above series till the given number{ 5 } is :\r\n 1 22 333 4444 55555<\/pre>\n

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

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

Given Number = 8<\/pre>\n

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

The above series till the given number{ 8 } is :\r\n 1 22 333 4444 55555 666666 7777777 88888888<\/pre>\n

Program to Print Series 1,22,333,4444…n in Python<\/h2>\n

Below are the ways to print the series (1,22,333,4444…N) <\/strong>for\u00a0the given number N in Python.<\/p>\n