Anonymous user
Rosetta Code:Solve a Task: Difference between revisions
→Adding Code
m (→Conclusion) |
|||
Line 16:
Language examples on each page are in alphabetical order, so you need to find where your example would fit. Once you've found that, click the "edit" link closest above the area where you want to insert your code on the task page, and add something like this to the bottom of the edit field:
<pre>
# s = words speed per minute
from subprocess import call
call(["espeak","-s160","Hello World"])
</pre>
Remember, for the sake of simplicity, we're assuming your language is Ayrch, and the task is [[Hello world]]. We're also assuming, for the moment, that Ayrch looks a lot like BASIC.
|