to do that in pythonjust like we had function in tdjqztubut for opsnqegwe also have an fyqpoqegor an exponential probability distribution function to do that in pythonwe can do the same syntax that we did for the normal distribution with an exponential distribution here as shown in the following code blockgspntdjqztubutjnqpsufyqpo jnqpsunbuqmpumjcqzqmpubtqmu oqbsbohf qmuqmpu fyqpoqeg so againin the above codewe just create our values using the numpy bsbohf function to create bunch of values between and with step size of thenwe plot those values against the -axiswhich is defined as the function fyqpoqeg the output looks like an exponential fall off as shown in the following screenshot