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
-
9:53
Rethinking the Dollar
22 hours agoWhen Detroit Bleeds, America Suffer! Layoffs Have Begun
9.92K23 -
18:36
Clownfish TV
1 day agoYouTube Just NERFED YouTube Gaming... | Clownfish TV
11.3K30 -
10:26
Silver Dragons
19 hours agoSilver is TAKING OFF Around the World
11.4K4 -
1:36
From Zero → Viral with AI
1 day ago $1.96 earnedAI in Content Creation & Discovery – The New Era of Marketing
12.2K1 -
1:20:10
FreshandFit
13 hours agoMiami Halloween Street Debate
216K117 -
2:06:16
TimcastIRL
16 hours agoTrump Calls For NUCLEAR OPTION, END Filibuster Over Food Stamp Crisis | Timcast IRL
226K199 -
3:58:54
SavageJayGatsby
14 hours ago🎃 Friend Friday – Halloween Edition! 👻🕷️
58.2K4 -
16:16
Robbi On The Record
12 days ago $22.58 earnedThe Dark History of Halloween | What You Should Know
73.7K71 -
58:18
Flyover Conservatives
1 day agoThe Truth About Halloween that You DIDN’T Know - Holiday Special - Historian Bill Federer | FOC SPECIAL Show
69.5K13 -
3:10:46
Ellie_roe
13 hours agoEllie and Errys Halloween Spooktacular || Random Horror Games
36.1K9