Jump to content

Calendar - for "REAL" programmers: Difference between revisions

the Python code does not adhere to the rules of the challenge (and the challenge is omitted from Python anyhow)
(the Python code does not adhere to the rules of the challenge (and the challenge is omitted from Python anyhow))
Line 2,299:
END CALENDAR;</lang>
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}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.