Contribute in GitHub: Edit online pi() Returns the constant value of Pi. Syntax pi() Returns The double value of Pi (3.1415926...)