Welcome to Greetings’s documentation!¶
Simple “Hello, James” module developed to teach research software engineering.
- greetings.greeter.greet(personal, family, title='', polite=False)¶
Generate a greeting string for a person.
- personal: str
A given name, such as Will or Jean-Luc
- family: str
A family name, such as Riker or Picard
- title: str
An optional title, such as Captain or Reverend
- polite: bool
True for a formal greeting, False for informal.
An appropriate greeting
>>> from greetings.greeter import greet >>> greet("Terry", "Jones") 'Hey, Terry Jones.