Skip to content
A mathematical interpreter.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
.gitattributes
.gitignore
README.md
pycal.py

README.md

PyCal

PyCal is a simple programming language, and also a calculator. PyCal is able to compute most simple math equasions, generate random numbers, etc.

Examples

Calculate 2*5/6

{2*5/6}!

Get the square root of 9

(9)S!

Get the first n Fibonacci numbers

*i[F!+]

Output the first n prime numbers

IP!

Output pi

(!p)^

Output a random number from 1 to 100

(!R)^

Output a random number between 0 and 1

(!r)^

Hello, world!

:Hello, world!;^

You can’t perform that action at this time.