LIST FORMATTING - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: LIST FORMATTING (/thread-14047.html) |
LIST FORMATTING - Nick1999 - Nov-12-2018 I have a list which prints like this: Hello My Name Is but I want the first 3 letters of each word, eg. HellMyNamIs printed like this but it prints like this, Hell My Nam Is is there any way to format it for all print on one line and add together like I've done above thank you RE: LIST FORMATTING - buran - Nov-12-2018 show us your code in python tags. Note that print function has optional argument end
RE: LIST FORMATTING - ichabod801 - Nov-13-2018 And please don't use all caps. Us old internet fogies see that as shouting. |