{"id":12040,"date":"2021-09-30T15:00:39","date_gmt":"2021-09-30T09:30:39","guid":{"rendered":"https:\/\/python-programs.com\/?p=12040"},"modified":"2021-11-22T18:34:27","modified_gmt":"2021-11-22T13:04:27","slug":"python-program-to-print-pattern-to-display-letters-of-the-word","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-to-print-pattern-to-display-letters-of-the-word\/","title":{"rendered":"Python Program to Print Pattern to Display Letters of the Word"},"content":{"rendered":"

Our website provided core java programs examples with output<\/a> aid beginners and expert coders to test their knowledge gap and learn accordingly.<\/p>\n

Given a word the task is to print the letters of the word in C, C++, and Python.<\/p>\n

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

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

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

Given string =\"BTechGeeks\"<\/pre>\n

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

B\r\nBT\r\nBTe\r\nBTec\r\nBTech\r\nBTechG\r\nBTechGe\r\nBTechGee\r\nBTechGeek\r\nBTechGeeks<\/pre>\n

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

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

Given string =\"Aplustopper\"<\/pre>\n

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

A\r\nAp\r\nApl\r\nAplu\r\nAplus\r\nAplust\r\nAplusto\r\nAplustop\r\nAplustopp\r\nAplustoppe\r\nAplustopper<\/pre>\n

Pattern to display letters of the word in C, C++, and Python.<\/h2>\n

Below are the ways to display letters of the word in C, C++, and Python.<\/p>\n