I would like to sample N points (lets say N = 10000) on a sphere. I know how to plot a 3D sphere. However, I am not sure how to use spherical coordinates for points. (below is the code I used for the sphere) Answer This will do the job:
Tag: points
How to make a variable name dependant on input in python?
I need to create multiple variables based on int input so that if input is 5 then variables are created like: worker1, worker2, worker3, etc. Is there any way in which I could generate variables like these and then add points to them dependant on the number chosen by the user? Example: How many workers? 10 -Choose worker 4 -added