Calendar - for "REAL" programmers: Difference between revisions
Content added Content deleted
(the Python code does not adhere to the rules of the challenge (and the challenge is omitted from Python anyhow)) |
|||
Line 2,299: | Line 2,299: | ||
END CALENDAR;</lang> |
END CALENDAR;</lang> |
||
See CALENDAR for result. |
See CALENDAR for result. |
||
=={{header|Python}}== |
|||
<lang python> |
|||
import subprocess |
|||
px = subprocess.Popen(['python', '-c', 'import calendar; calendar.prcal(1969)'], |
|||
stdout=subprocess.PIPE) |
|||
cal = px.communicate()[0] |
|||
print (cal.upper()) |
|||
</lang> |
|||
=={{header|Racket}}== |
=={{header|Racket}}== |