def hello(name): """ Print hello with the given name. """ print("Hello %s"%name)
sage: load "hello.spyx" Compiling hello.spyx... sage: hello('World') Hello World
sage: attach "hello.spyx"
See About this document... for information on suggesting changes.