Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to fix this error? TypeError: uniform() takes 3 positional arguments but 4 were given

+3 votes
asked Nov 29, 2022 by Anthony Karl Miranda (150 points)

1 Answer

0 votes
answered Nov 30, 2022 by Peter Minarik (86,040 points)

The error message says that the function takes 3 arguments, but you provided 4. Consult the manual of the function for more details. Is this it?

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...