freeCodeCamp Python Challenge: let's build a budget app!

  Рет қаралды 17,577

Faraday Academy

Faraday Academy

Күн бұрын

Пікірлер
@cattelia
@cattelia Жыл бұрын
@1:26:24, yes! I know/get what you are doing 😂 Your train of thought was exactly mine.
@cattelia
@cattelia Жыл бұрын
I'll just reply to my own comment so I don't spam everywhere. You're currently working through how you want to do the percentages and you said that you might have to loop through the numbers again and how, "It seems like a waste." XD You do not know how much this thought process means to me. I thought I was going crazy with how I was going about this challenge. Truly wonderful stuff here!
@okindaderrick586
@okindaderrick586 3 жыл бұрын
your videos are just awesome, continue helping beginners like me
@ingluissantana
@ingluissantana 3 жыл бұрын
Nice to see as a beginner (that i am) how you attack the problem :) Thanks a loooooootttttt!!!!!!!!!!
@ianzdanowsky8355
@ianzdanowsky8355 2 жыл бұрын
Just starting this one too, thanks!
@denisaturkova6204
@denisaturkova6204 3 жыл бұрын
Awesome videos. Learnt a lot. At 1:09:00 how did you test it in replit? (the percentage)? It only let me to run the entire code i put there
@FaradayAcademy
@FaradayAcademy 3 жыл бұрын
I was just running the budget.py file directly because I had the create_spend_chart([]) function call on line 70 instead of running the whole test file.
@codestudio497
@codestudio497 3 жыл бұрын
thank you for this video , i don't why transfer method instructions has nothing to do with the test module , test module is expecting normal stuff but the in instructions they are asking to add withdraw with amount and description other one add deposit with amount of the budget category with description , on test module they are expecting to - to the transfer amount and remove - on another expect , thats all
@codecage9333
@codecage9333 3 жыл бұрын
Why not correct and finish the __repr__ function before jumping on the create_spend_chart function?
@FaradayAcademy
@FaradayAcademy 3 жыл бұрын
I went back and did repr at the end
@lionelmcadams2128
@lionelmcadams2128 2 жыл бұрын
hey, thanks for this Gwen, are there any libraries i need to import? for example, I'm getting underlines on the these two lines, i'm getting the lightbulb. what do i do? food = Category("Food") entertainment = Category("Entertainment")
@antsmith3284
@antsmith3284 2 жыл бұрын
Would it be possible to do an app like Venmo? If it's too complex, can you possibly do a simple version of it? I'm very curious to see how it works.
@codecage9333
@codecage9333 3 жыл бұрын
I almost feel like I'm watching myself stumble through this. At least she isn't making quite as many mistakes as I am. And talk about jumping in and coding with out any preparation! But maybe that is the point.
@FaradayAcademy
@FaradayAcademy 3 жыл бұрын
Yeah, I wanted to show these projects end to end. So I didn’t really look at it first. I tried to figure everything out live. Sorry if that was confusing.
@codecage9333
@codecage9333 3 жыл бұрын
@@FaradayAcademy Thanks a lot for the reply Gwen! I am actually enjoying this video since I am not a professional programmer and trying to follow a video that is so polished that no mistakes are ever made, makes it difficult to follow. At least for me anyway. As of this reply, I have been sidelined on another project, but will get back to your video soon, and will follow it to the end. Thanks for all you are doing to help us armchair programmers!😎
@f123006
@f123006 3 жыл бұрын
hi from Taiwan🇹🇼
@NightBird0901
@NightBird0901 3 жыл бұрын
Hello
@ASIFAlI-lq4rd
@ASIFAlI-lq4rd 3 жыл бұрын
I really hate white background... before I was come here to watch this but now I won't.... cause you know
@icognitorinsewashcheeto6022
@icognitorinsewashcheeto6022 Жыл бұрын
this fixes the category lettering def create_spend_chart(categories): s = "Percentage spent by category " total = 0 cats = {} for cat in categories: cat_total = 0 for item in cat.ledger: amount = item["amount"] if amount < 0: total += amount cat_total += amount cats[cat.name] = abs(cat_total) total = abs(total) for key, val in cats.items(): percent = (val / total) * 100 cats[key] = percent for n in range(100, -1, -10): s += f"{str(n)+'|':>4}" for val in cats.values(): if val >= n: s += " o" s += " " L = len(cats.values()) s += f" {(L*3+1) * '_'} " i = 0 while True: temp_str = "" for key in cats.keys(): if i < len(key): temp_str += key[i] else: temp_str += " " i += 1 if temp_str.strip() == "": break s += f" {temp_str} " print(s)
@dre_sensei95
@dre_sensei95 Күн бұрын
still didn't resolve the issue :(
FreeCodeCamp Python Project: Time Calculator!
2:09:50
Faraday Academy
Рет қаралды 8 М.
Build a Probability Calculator with Python! Pt1
1:11:38
Faraday Academy
Рет қаралды 4 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
freeCodeCamp Python Project: Arithmetic Formatter
2:28:54
Faraday Academy
Рет қаралды 20 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,7 МЛН
OOP in Python | Object Oriented Programming
1:45:19
Telusko
Рет қаралды 1,8 МЛН
Simple Calculator with Anvil - Python Web App Tutorial for Beginners
19:19
Learn To Code Like a GENIUS and Not Waste Time
9:41
The Coding Sloth
Рет қаралды 1,8 МЛН
Budgeting for Beginners - How to Make a Budget From Scratch 2021
8:21
Debt Free Millennials
Рет қаралды 965 М.
Is Functional Programming DEAD Already?
21:07
Continuous Delivery
Рет қаралды 75 М.
Learn Python With This ONE Project!
55:04
Tech With Tim
Рет қаралды 1,9 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН