-2

I want to check how they implemented the methods containing the particular library.

Gino Mempin
  • 19,150
  • 23
  • 79
  • 104
Mark
  • 7

1 Answers1

2

The source code for random module can be found at random.py. But due to performance reasons some parts of the library is implemented in C which can be found at randommodule.c

Abdul Niyas P M
  • 12,736
  • 2
  • 17
  • 36