'What does the argument of function rgamma in R mean?

My advisor asked me to transfer the R code A = rgamma(n = 400, 24, 4) into python. I thought numpy.random.gamma would make sense. But sadly I don't know the corresponding argument of numpy.random.gamma.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source