-
Notifications
You must be signed in to change notification settings - Fork 1
Default variables
Efy edited this page Jan 23, 2023
·
1 revision
This is a list of all default variables you can use in Reject.
e
Euler's number.
x = e^2
pi
Pi.
x = pi^2
pretty_printing
A modifyable variable that is used to determine in what way fractions will be printed. When this variable is manually set to true, fractions will be printed as numbers. When this is set to false, fractions will be printed in their default format.
pretty_printing = true
print(2) # prints 2
pretty_printing = false
print(2) # prints 2/1