# How to define Sage function with Optional arguments?

I need to define a Sage function with optional arguments. The number of mandatory arguments is 2 and there are up to 3 optional arguments. How do I do this is Sage?