Premium Only Content
Probability Calculator - Free Code Camp (SOLUTION)
I spent a bunch of time trying to solve this problem by myself but nothing was working, after trying a bunch of times I realized what was wrong, I tried to implement Faraday´s Academy solution but it wasn´t working, so I´ve looked at the code on python tutor and figure out what was the mistake and how to fix it, so this video is an explanation of what was wrong and how I fixed it. I highly recommend checking the other solutions out, especially from Faraday Academy, and also researching and trying to solve this yourself, I´ve learned a lot by doing this challenge...
obs: I´ve realized after copying and pasting her code directly from her Replit that it actually is working, the issue was on her video the indentation looks different because the way the space for her code was set up, some function calls are broken down into 2 different lines, so they seem to be written in two different lines when in reality they are supposed to be on the same line, the ones I´ve spotted are the "balls" functions...anyway I´m going to leave my solution because I think it might help someone as well
Hope this helps :)
Programming Predator: https://www.youtube.com/watch?v=99SxnweS3ps
Faraday Academy: https://www.youtube.com/watch?v=5fSTndU5uWo
Landon Schlangen: https://www.youtube.com/watch?v=iIu4ixFlT-w&t=6s
Aarya Pandya: https://www.youtube.com/watch?v=KDRO3E_M3FQ
-
3:54:19
SpartakusLIVE
7 hours agoPUBG Duos w/ Viss || Tactical Strategy & HARDCORE Gameplay
47.9K1 -
5:54:54
FRENCHY4185
7 hours agoFRENCHY'S BIRTHDAY BASH !!! THE BIG 40 !!!
64.1K3 -
1:23:33
Michael Franzese
15 hours agoThings to look forward to in 2025
83.9K46 -
3:23:02
I_Came_With_Fire_Podcast
16 hours agoDefeating VICTIMHOOD: Advocacy, Resiliency, and Overcoming Abuse
93.4K19 -
2:00:56
Game On!
23 hours ago $10.20 earnedNFL Experts debate if Joe Burrow will make HISTORY in Week 18!
111K16 -
2:07:57
InfiniteWaters(DivingDeep)
4 days agoHOW TO ENTER 2025 LIKE A BOSS!
41.5K1 -
15:43
Tactical Advisor
9 hours agoBEST and WORST Guns Of 2024
31.7K8 -
9:14
Dermatologist Dr. Dustin Portela
9 hours ago $1.07 earnedProducts a Dermatologist Actually Uses
28.6K10 -
20:54
inspirePlay
10 hours ago $3.98 earned🏌️♀️ Extreme Knockout Golf Challenge Part 2 – Do the GIRLS beat the BOYS? 🏌️
50.1K2 -
24:09
Squaring The Circle, A Randall Carlson Podcast
10 hours ago#033 At The Crossroads - Squaring the Circle: A Randall Carlson Podcast
33.2K12