Microbit/random.py

changeset 0
b3daa2ebea2f
equal deleted inserted replaced
-1:000000000000 0:b3daa2ebea2f
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module containing stubs for API generation of the 'random' module.
8 """
9
10 def getrandbits(n):
11 pass
12
13 def seed(n):
14 pass
15
16 def randint(a, b):
17 pass
18
19 def randrange(stop):
20 pass
21
22 def randrange(start, stop):
23 pass
24
25 def randrange(start, stop, step):
26 pass
27
28 def choice(seq):
29 pass
30
31 def random():
32 pass
33
34 def uniform(a, b):
35 pass

eric ide

mercurial