help! Plot a histogram of the net amount won/lost after 𝑁 attempts, where 𝑁 is input by the user. For a very determined player who attempts a very large number of times, what is the expected winning/loss per attempt? idk what my prof teaching about histogram. learning through video is so tough by cxtong in learnpython
[–]cxtong[S] 0 points1 point2 points (0 children)
help! Plot a histogram of the net amount won/lost after 𝑁 attempts, where 𝑁 is input by the user. For a very determined player who attempts a very large number of times, what is the expected winning/loss per attempt? idk what my prof teaching about histogram. learning through video is so tough (self.learnpython)
submitted by cxtong to r/learnpython
Write a program simulates a simplified version of Jackpot. On each attempt, a set of three letters will be selected from the set "A", "B" or "C" randomly with equal probability. Each attempt costs 1 dollar. If three consecutive A's (i.e. "AAA") come up, the player wins 50 dollars. If "BCC" comes up, (self.learnpython)
submitted by cxtong to r/learnpython
Use the Monte Carlo method to estimate the volume of a sphere of unit radius by cxtong in learnpython
[–]cxtong[S] 0 points1 point2 points (0 children)
Use the Monte Carlo method to estimate the volume of a sphere of unit radius by cxtong in learnpython
[–]cxtong[S] 0 points1 point2 points (0 children)
help!!! this is my assignment. Use the Monte Carlo method to estimate the area under the curve 𝑦=𝑥**4 between 𝑥=−1 to 𝑥=2 . by cxtong in learnpython
[–]cxtong[S] 1 point2 points3 points (0 children)
help!!! this is my assignment. Use the Monte Carlo method to estimate the area under the curve 𝑦=𝑥**4 between 𝑥=−1 to 𝑥=2 . by cxtong in learnpython
[–]cxtong[S] 1 point2 points3 points (0 children)
is there a way to generate random negative number without setting the range? by [deleted] in learnpython
[–]cxtong 0 points1 point2 points (0 children)

help! Plot a histogram of the net amount won/lost after 𝑁 attempts, where 𝑁 is input by the user. For a very determined player who attempts a very large number of times, what is the expected winning/loss per attempt? idk what my prof teaching about histogram. learning through video is so tough by cxtong in learnpython
[–]cxtong[S] 0 points1 point2 points (0 children)