-2

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

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
Renan
  • 59
  • 5

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
  • 18,035
  • 2
  • 25
  • 46