While trying to make games for the Micropython environment of the fx-CG50 I sometimes ran into the problem of not knowing which modules and functions the calculator has. If you press shift + 4 in the shell you can see everything. Nowhere online could I find a list and not even in the fx-CG50 software manual there is a list of them. So I wanted to help people trying to make something for the fx-CG50 by providing the list online. I was wondering where in the forum I should post it. In case this is the right place, I'll post it here.
Code:
Code:
#· means tab.
#x:b means:
#x:
#
#b:
#Builtins:
abs()
all()
and
any()
.append()
as
bin()
bool()
break
bytes()
chr()
class
.clear()
complex(,)
continue
.copy()
.count()
def
def:
def:return
del
dict()
divmod(,)
elif
else
.endswith()
eval()
except
.extend()
False
finally
.find()
float()
for
for:
for:range()
for:range(,)
for:range(,,)
.format()
from
.from_bytes(,)
.fromkeys()
.get()
global
hex()
if
if:
if:else
if:elif
if·and:else
if·or:else
.imag
import
in
.index()
input()
.insert(,)
int()
is
.isalpha()
.isdigit()
.islower()
.isspace()
.isupper()
.items()
.join()
.keys()
lambda
len()
list()
.lower()
.lstrip()
map(,)
max()
min()
None
nonlocal
not
oct()
or
ord()
pass
.pop()
.popitem()
pow(,)
print()
raise
range()
.real
.remove()
.replace(,)
return
.reverse()
.rfind()
.rindex()
round()
.rsplit()
.rstrip()
.setdefault()
.sort()
sorted()
.split
.startswith()
str()
.strip()
sum()
.to_bytes(,)
True
try
tuple()
type()
.update()
.upper()
.values()
while
while:
with
yield
zip()
#math:
acos()
asin()
atan()
atan2(,)
ceil()
cos()
cosh()
exp()
fabs()
floor()
fmod(,)
frexp()
from math import *
import math
log()
log10()
math.
math.e
math.pi
modf()
pow(,)
sin()
sinh()
sqrt()
tan()
tanh()
#random:
choice()
from random import *
getrandbits()
import random
randint(,)
random()
random.
randrange()
seed()
uniform(,)
#casioplot:
casioplot.
clear_screen()
draw_string(,,)
from casioplot import *
get_pixel(,)
import casioplot
set_pixel(,)
show_screen()
#Symbol:
e
+
-
*
**
/
%
&
|
^
~
<
>
<=
>=
==
!=
(
)
[
]
{
}
,
:
.
;
=
'
"
#
\
!
_