This website requires JavaScript.
Explore
Help
Register
Sign in
crc
/
retroforth
Watch
1
Star
0
Fork
You've already forked retroforth
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
94d878ff13
retroforth
/
vm
/
nga-python
/
RNGDevice.py
7 lines
106 B
Python
Raw
Normal View
History
Unescape
Escape
nga-python: fix random number generator (forgot to import random module) FossilOrigin-Name: 89b97f70b3f5ad1d1c9ed9d97cdb4fe99448a6b245611bc011fc4a66736ff345
2021-01-06 15:02:23 +01:00
import
random
run black to reformat Python files FossilOrigin-Name: 3b06a15e14d8f808dbefdde1d129a4f768f803fbb3ce7fe39a82e60ff7ed88e7
2021-01-20 18:41:34 +01:00
nga-python: start adding files from the rework towards a class based implementation FossilOrigin-Name: b56fcd9e7f5f44c0f0572aa19dc423a94bbb849d593cc07621af063acb51e124
2020-11-18 21:20:04 +01:00
class
RNG
:
nga-python: small adjustment to RNGDevice (from Arland) FossilOrigin-Name: a1f3640101ce39fb0cba3ef893d0f9f5fe87ce20c463b085061a023449808609
2020-12-24 12:57:04 +01:00
def
__call__
(
self
)
:
nga-python: start adding files from the rework towards a class based implementation FossilOrigin-Name: b56fcd9e7f5f44c0f0572aa19dc423a94bbb849d593cc07621af063acb51e124
2020-11-18 21:20:04 +01:00
return
random
.
randint
(
-
2147483647
,
2147483646
)
Reference in a new issue
Copy permalink