Press Ctrl+C to copy it to the Clipboard.Press Ctrl+A to select the entire document.The result-mirrored output, just like you need.įinally, if you don't want to mess with the transparencies (it can get a bit expensive if you have many pages to do), you can follow these general steps, instead: Then, turn the printed film upside down and copy it on a copier. All you need to do is print from Word, like normal, on a piece of overhead transparency film. If you search high and low and cannot find such an option, there is a tricky low-tech solution you can use. The feature may have a name such as "mirror output" or "flip horizontal." Yours, obviously, may be in a different place. On my printer, the option is contained in a portion of the dialog box entitled PostScript Options. Many ink-jet printers include the capability to do mirrored output.Īll you need to do is click on the Properties button in the Print dialog box and then do a little exploring in the various tabs and controls. The feature is not limited to laser printers, either. Most PostScript printers (and many non-PostScript HP printers) include the capability to mirror the output. The first thing you should do is to check out the capabilities of your printer driver. There are ways you can achieve the same results, however. Unfortunately, Word has no intrinsic setting that allows you to create mirrored output. For example, you might need such a mirror image if you are doing silk screening onto tee shirts or coffee mugs with the output you create. However, for some purposes you might find it useful to print a mirror image of a document-where everything is reversed on the printout, and you can only see it correctly if you look at the document in a mirror. Sentence = "The quick brown fox jumped over the lazy dog.Word does a great job of printing documents. (only you don't need to remember magic word reversed and also because in the first version there are less parenthesis it's looks more readable for me) See Note 5 in the Python documentation for Sequence TypesĪ = "The quick brown fox jumped over the lazy dog." reversed order of wordsīut it's the same as b = " ".join( reversed( a.split() ) ) For others, the slicing notation used is start: end: step and a negative step indexes from the end of the list instead of the beginning.
god yzal eht revo depmuj xof nworb kciuq ehT a = "The quick brown fox jumped over the lazy dog." Your solution actually reverses the characters of the string and not the words. Python: a = "Quick brown fox jumps over the lazy dog." I am trying to run this program but it keeps cutting off the first word everytime i do it. Really python is a high level programming language but it is very very easy to learn and implement.
How it sorted the program in just four lines.
Python is really great and very good language. I removed your first comment with the broken formatting and I added a single space to your second comment to fix the formatting. Here is a C version with better formatting: #include Ĭhar pinstr = "Quick brown fox jumps over the lazy dog." įor (i = 0, ptok = strtok(pinstr, " ") ptok = strtok(NULL, " ") i++) #include /* function declarations */ void reverse_words ( char * sentence ) void reverse_chars ( char * left, char * right ) /* main program */ int main ()