Modulinos: Difference between revisions

→‎{{header|Python}}: Added parentheses to print so that the code samples will also work in Python 3.
(simplified)
(→‎{{header|Python}}: Added parentheses to print so that the code samples will also work in Python 3.)
Line 1,073:
 
if __name__ == "__main__":
print ("Main: The meaning of life is %s" % meaning_of_life())</lang>
 
<lang python>#!/usr/bin/env python
Line 1,081:
from life import meaning_of_life
 
print ("Life means %s." % meaning_of_life())
print ("Death means invisible scary skeletons.")</lang>
 
=={{header|Smalltalk}}==
Anonymous user