C3_week_1_exercise 1 - help

Not sure why I am struggling with the code now. Please can someone help? I am quite new to Python. The first two math courses were super easy but the exercises here are getting very complicated for me. Nevertheless, I am not giving up :slight_smile:

{moderator edit: code removed}

I updated your thread title from “C2” to “C3”, since that is the correct reference for this topic.

If you are getting error messages, please post them as screen captures.

Please do not post your code on the forum. That’s not allowed by the Code of Conduct. If a mentor needs to see your code, we’ll contact you with instructions.

Hint: There are no variables ‘a’ or ‘b’ in this function. So you can’t use them here.
The gaussian generator is based on a random interval from 0 to 1, so use those values instead of a and b.