Here is how to change the console colors to be green, like mine, or another color. I forgot to mention that in the video 😅 File -> Settings -> Color Scheme -> Console Colors -> Console -> Standard Output
Now you know how to print useless text on the screen in every way possible he could come up with. I just don't see that as a skill worth wasting 12 hours for
@NubsWithGuns Are you dumb? It doesn't matter what tutorial you look up, all of them are like this. Why? Because how tf are you supposed to learn programming? Making an app? Without knowing what a for loop is? After this tutorial, I took a look at Harvard's CS50's Python course, and this tutorial somehow is more understandable than that one.
My journey to finish this course by the End of the Year Date: 10 December 2024 Day 1: Completed (00:21:15) [will continue from "user input"] Day 2: Completed (01:00:06) [will continue from "calculator program"] Day 3: Completed (01:21:28) [will continue from "string methods"] Day 4: Completed (02:06:28) [will continue from "for loops"] Day 5: Completed (02:23:03) [will continue from "lists, sets, and tuples"] Day 6: Completed (03:03:27) [will continue from "dictionaries"] Day 7: No progress as I was traveling Day 8: Completed (03:19:41) [will continue from "random numbers"] Day 9: Completed (04:02:49) [will continue from "default arguments"]
Mad Libs Game: adjective1 = input("Enter an adjective(description of something): ") name = input("Enter a name: ") noun = input("Enter a noun(person, place, thing): ") plural_noun = input("Enter a plural_noun: ") verb_ending_in_ing = input("Enter a verb ending in -ing: ") adjective2 = input("Enter an adjective: ") adjective3 = input("Enter an adjective: ") food_item = input("Enter a food item: ") drink = input("Enter a drink: ") print(f"One fine {adjective1} day, {name} decided to visit the park.") print(f"They brought their favorite {noun} to play with.") print(f"At the park, they saw a group of {plural _noun} doing {verb_ending_in_ing}.") print(f"It was so {adjective2} that they couldn't resist joining in!") print(f"Later, they enjoyed a {adjective3} picnic with {food_item} and {drink}.") print("It was a day to remember!")
Went beyond for this one, lol! Shooping cart program foods = [] # List for food items prices = [] # List for prices quantities = [] # List for quantities total = 0 # Initialize total to 0 while True: # Ask user for food item or exit option food = input("Enter a food to buy (or 'q' to quit): ") if food.lower() == "q": # Break loop if user wants to quit break # Add food to list foods.append(food) # Get and append the price as a float price = float(input(f"Enter the price for {food}: $")) prices.append(price) # Get the quantity needed as an int quantity = int(input(f"Enter the quantity for {food}: ")) quantities.append(quantity) # Display cart print("-------Your Cart-------") for x in range(len(foods)): # Iterate through the lists print(f"{foods[x]} x {quantities[x]} @ ${prices[x]:,.2f} each") print("-----------------------") # Calculate and display the total cost for y in range(len(prices)): # Multiply each price by its quantity total += prices[y] * quantities[y] print(f"Your total is: ${total:,.2f}")
For every beginner out there, I suggest you to PAUSE the video if you are getting confused. Take a short break, eat something or drink. Go back to PC and re-watch from where you paused. I do this too and this makes me refresh my brain. And if I STILL don't understand, I will research about it on internet or watch a short video on RUclips related to the topic that I did not understand. GOOD LUCK!
My Progress for finishing this course: Day 1 : 3:03:26 Day 2 : 06:07:25 Day 3 : 07:33:33 Day 4 : Break Day Day 5 : 08:38:48 Day 6 : School Stuff Day 7 : School Stuff Day 8 : 09:50:00 Day 9 : School stuff Day 10: 12:00:00 Done!
I dont believe in charity seem im pretty the mast majority of them are scam but the fact that his guys is good and its willing do donate fr is giga chad behavior
In ancient Greece, the top philosophers would just come out to the city square and give free lectures on geometry or history or whatever to anyone who wanted to attend. 2,000 years later we have stuff like a 12-hour course teaching you the basics of Python for free. Thank you so much for what you do. We're watching, we're learning, and it's really great to have you here.
Respect the chad who traveled from ancient Greece through the time to nowadays, mastered Python and sharing this knowledge with us for free. What a chad
This is just for me to track where I am in the video Sitting 1: 32:41 Sitting 2: 1:00:00 Sitting 3 1:21:19 Sitting 4 1:39:06 Sitting 5: 2:17:34 Sitting 6 2:23:06 Sitting 7: 3:03:19 12/13/24 Sitting 8: 3:42:05 12/18/24 Sitting 9 4:02:31
As a “intermediate beginner” to coding, i say that this is probably the clearest explanation to the point where I needed to look at. The while loops really helped me!
madlibs atempt: v1 = input("1. Proper Noun (Person’s Name): ") v2 = input("2. Noun: ") v3 = input("3. Adjective (Feeling): ") v4 = input("4. Verb: ") v5 = input("5. Adjective (Feeling): ") v6 = input("6. Animal: ") v7 = input("7. Verb: ") v8 = input("8. Color: ") v9 = input("9. Verb (ending in ing): ") v10 = input("10. Adverb (ending in ly): ") v11 = int(input("11. Number: ")) v12 = input("12. Measure of Time: ") v13 = input("13. Color: ") v14 = input("14. Animal: ") v15 = int(input("15. Number: ")) v16 = input("16. Silly Word: ") v17 = input("17. Noun: ") print(f"""This weekend I am going camping with {v1}. I packed my lantern, sleeping bag, and {v2}. I am so {v3} to {v4} in a tent. I am {v5} we might see a {v6}, they are kind of dangerous. We are going to hike, fish, and {v7}. I have heard that the {v8} lake is great for {v9}. Then we will {v10} hike through the forest for {v11} {v12}. If I see a {v13} {v14} while hiking, I am going to bring it home as a pet! At night we will tell {v15} {v16} stories and roast {v17} around the campfire!!""") result: 1. Proper Noun (Person’s Name): Maria 2. Noun: horse 3. Adjective (Feeling): bored 4. Verb: eat 5. Adjective (Feeling): happy 6. Animal: mouse 7. Verb: clapping 8. Color: turqois 9. Verb (ending in ing): pulling 10. Adverb (ending in ly): hardly 11. Number: 24 12. Measure of Time: night 13. Color: green 14. Animal: dog 15. Number: 65 16. Silly Word: pus*y 17. Noun: pen This weekend I am going camping with Maria. I packed my lantern, sleeping bag, and horse. I am so bored to eat in a tent. I am happy we might see a mouse, they are kind of dangerous. We are going to hike, fish, and clapping. I have heard that the turqois lake is great for pulling. Then we will hardly hike through the forest for 24 night. If I see a green dog while hiking, I am going to bring it home as a pet! At night we will tell 65 pus*y stories and roast pen around the campfire!!
For the weight conversion program. (01::05:59) unit = input("Kilograms or Pounds? (K or L): ").upper() # Convert input to uppercase Because when you enter l (lowercase) you get the right result but when you enter k, you get "k was not valid"
Bro makes a Free 12 Hour well explained course and makes it a fundraiser. A real Gigachad. 8:26:40 Bro Code wallpaper reveal + he uses Edge + he's got Nuclear Launch Codes on his desktop 😱
Dude I'm in college for Cyber Security and am taking my first python class rn. Our textbooks can really overcomplicate and flood you with information and it has been very difficult for me. The fact that you uploaded 12 HOURS of straight to the point, easy to understand content with real time examples is so amazing. You have helped me pass my python class. You are a hero dude! :)
A journal of my progress in python as a newbie with zero experience in coding and im 13 Day 1 10:40 Day 2 34:02 Day 3 42:57 Day 4 59:55 (I forgot the exact time stamps before day 4 so they are inaccurate) Day 5 1:07:45
@@negan699@negan699 I did a 1 day stop to work in a side project on python I am making a tiny Text RPG, I could drop the code if you wanna check it out ahahahhaha
@@negan699 I was busy yesterday working on a small python project on the side, I am doing a tiny text rpg. I can send you the code if you would like to check it out :)
Ive been inconsistent so ima track my days rn, I promise im completing the course asap lol Where I left off: 1:32:36 Day 2: 1:40:19 I couldn't watch the course because I had to prep for some tests at school, my head is all heavy and am all restless because little sleep, but now that winter break's here I will complete the course asap
i really struggle with my sleep schedule but your voice helps me fall asleep in no time. thank you so much, i love your channel (i also learned basics of c++ following your course, i mean i dont only sleep)
I used this instead for 50:37 import math a= float(input("What is the value of a ?")) b= float(input("What is the value of b? ")) hypotenuse = math.sqrt ((a **2 ) + b **2) print(f'the value of hypotenuse is {hypotenuse}')
Thank you very much! There are many of us who can’t afford all the courses and get easily overwhelmed by the content. But nowadays it’s practically free to learn a big chunk of the things you want to learn because of people like you!
i have been watching the old one, but haven't finished it (have been learning very inconsistently), should finish learning the old one and then come back to learn what i don't know or should i just watch this one?
adjective1 = input("Type a adjective: ") adjective2 = input("Type another adjective: ") adjective3 = input("Type one more adjective: ") noun1 = input("Type a noun: ") verb1 = input("Type a verb ending in \"ing\": ") print(f"Today I went to a {adjective1} town") print(f"In the town, I saw a {noun1}") print(f"{noun1} was {adjective2} and {verb1}") print(f"I was {adjective3}!")
I'm taking one of my 3 final courses before I graduate this December with my bachelors degree. It's a Senior project that will focus on building a program that will retrieve data to build a business model for some miscallaneous company. I'm not completely clear on the specifics since this class just started last week. But, I do know that we will be using Pyhon exclusively. And I suck at programming. So I am going to take full advantage of your course. I want say thank you for your efforts and time.
Your C++ course helped me a lot when I was trying to get into the language for exams in technician/bachelor professional school, and I skimmed through your older python course to get better at a language I usually use to solve projects that come along. Looking forward to these 12 hours of content, thank you!
3:19:27 heres my try at a very neat, professional looking version (sorry for the unoptimized spaghetti code lmfao) menu = {"Popcorn":3.50, "Soda":1.50, "Candy":1, "Pizza":9} cart = [] total = 0 print(f"{"Menu":-^17}") for key,value in menu.items(): print(f"{key:10} ${float(value):> 5.2f}") print("-"*17) while True: user_inp = input("What item would you like? (q to quit) ") if user_inp.lower() == "q": break elif menu.get(user_inp.lower().capitalize()): print(f"{user_inp.lower().capitalize()} added to menu.") cart.append(user_inp.lower().capitalize()) else: print(f"{user_inp.lower().capitalize()} is not a valid menu item.") for food in cart: total += menu.get(food) print() print(f"{"Order":^26}") print("-"*26) for items in cart: print(f"{items:19} ${menu.get(items):>.2f}") print() print(f"Your total is: ${total:> 9.2f}") print("-"*26)
I just optimized it by a bit, would you like to see it? menu = {"popcorn":3.50, "soda":1.50, "candy":1, "pizza":9} cart = [] total = 0 print(f"{"Menu":-^17}") for key,value in menu.items(): print(f"{key.capitalize():10} ${value:> 5.2f}") print("-"*17) while True: user_inp = input("What item would you like? (q to quit) ") user_inp = user_inp.lower() if user_inp == "q": break elif menu.get(user_inp): print(f"{user_inp.capitalize()} added to menu.") cart.append(user_inp) else: print(f"{user_inp.capitalize()} is not a valid menu item.") for food in cart: total += menu.get(food) print() print(f"{"Order":^26}") print("-"*26) for items in cart: print(f"{items.capitalize():19} ${menu.get(items):>.2f}") print(f"Your total is: ${total:> 9.2f}") print("-"*26)
this is my code: menu = {"Pizza": 2.99, "Hot Dog": 1.50, "Popcorn": 2.50, "Fries": 1.99, "Soda": 1.50, "Freeze": 1.99} cart = [] total = 0 breaker = "q" print(f"{"Menu":-^17}") for key, value in menu.items(): print(f"{key:10}: ${value:.2f}") print("------------------------") while True: user_inp = input("Select an item (q to quit)").lower() if user_inp == breaker: break elif menu.get(user_inp.lower().capitalize()): cart.append(user_inp) else: print(f"{user_inp.lower().capitalize()} is not a valid item.") for user_inp in cart: total += menu.get(user_inp) print() print(f"{"Order":^26}") print("-"*26) for items in cart: print(f"{items.capitalize():19} ${menu.get(items):>.2f}") print(f"Your total is: ${total:> 9.2f}") print("-"*26)
@@bl4nktrill781 The user_inp is lower case while the dictionary is written in capitalize. Hence it will return None when trying to get the price. Next time if you want to see what when wrong. You can try printing out user_inp, menu.get(user_inp),etc work for me. Btw I really love using 'q' for breaker cuz it help a lot with readability.
Personal Tutorial Logbook. Day-1 (12 October 2024, 3:40 AM) 00:00 - 1:10:00 Practice Break (1 Day) Day-2 (14 October 2024, 2:57 AM) 1:10:01 - 2:23:00 Day off (Learning Web Developing) Day off (Learning Web Developing) Practice Break(1 Day) Day-3 (17 October 2024, 8:14 AM) 2:25:00 - 3:03:00 Day off (Learning Web Developing) Day off (Learning Web Developing) Day off (Learning Web Developing) Break (Personal Reason) Practice Break (1 Day) Day Off (Learning Python for Data Science) Wish me luck guys. I need to learn python because I selected AI and Data Science for University CS Major.
at 1:09:59 for temp conversion program, i have a better version temp = float(input("Current temperature: ")) unit_1 = input("current unit (K, C, F): ") if unit_1 == "K": unit_2 = input("converted unit(C, F): ") if unit_2 == "C": temp_1 = temp - 273.15 print(f"temperature in C is = {temp_1}") if unit_2 == "F": temp_1 = ((temp - 273.5) * (9/5)) + 32 print(f"temperature in F is = {temp_1}") elif unit_1 == "C": unit_2 = input("converted unit(K, F): ") if unit_2 == "K": temp_1 = temp + 273.15 print(f"temperature in K is = {temp_1}") if unit_2 == "F": temp_1 = (temp * (9/5)) + 32 print(f"temperature in F is = {temp_1}") elif unit_1 == "F": unit_2 = input("converted unit(K, C): ") if unit_2 == "K": temp_1 = ((temp - 32) * (5/9)) + 273.15 print(f"temperature in K is = {temp_1}") if unit_2 == "C": temp_1 = (temp - 32) * (5/9) print(f"temperature in C is = {temp_1}") this is more detailed program and user will have more control over the output he/she wanted, also it will help new programmers to get a better control over syntax
Here's a shove it down into few lines as possible version, used as much as I learned from the video: unit_list = ["K", "C", "F"] conversion = ["KC", "number - 273.15", "KF", "(number - 273.15)*1.8+32","CF", "number*1.8+32" ,"CK","number+273.15","FC","(number-32)*5/9","FK","(number-32)*5/9+273.15"] temp = input("Current temperature (K,C,F): ").upper() number = float(temp[0:len(temp)-1]) unit_list.remove(temp[len(temp)-1]) unit_c = input(f"What unit do you want to convert to?({unit_list[0]},{unit_list[1]}): ") print(f"The converted value is {eval(conversion[conversion.index(temp[len(temp)-1]+unit_c)+1]):.2f}°{unit_c}") It's currently at 7 lines of code, but I'm sure someone could bring it down lower.
input for temp needs to be #unit for example: 234.1F or 32C. If you shove in the number expression into the conversion list where ever the string number appears, then the code gets reduced down to 6, but not sure what else I could do 😅
I'm 12 yrs old and I decided to learn python coding. your video is helping me a lot!! Such a simple and crisp explenation, and there's even programs in between to practice. It's just perfect! 12 hours of coding, and it's free and so good! Thanks a lot for this 🥳😃😃
This one under is a lot better. def calculator(): while True: expression = input("Enter expression: ") # Validate and evaluate try: result = eval(expression) print("Result:", result) except Exception as e: print("Error:", e) calculator() Just think better
@@nosiest english is not my first language you speak english because thats the only language you probably know i speak english because thats the only language you understand we are not the same
This comment is to remind myself to finish this tutorial no matter what. First sitting: 3:18 Pm to 3:57 Pm ending at: 38:04 Second sitting: 4:31 Pm to 6:53 pm ending at 1:14:07 Third sitting: 3:34 Pm to 4:06 pm ending at 1:35:00
This Dude is the Best dropping a 12 hour coarse and taking the time where your not left out, he deserves another 10M subs if you want to finish this in 12 days you can watch an hour each, if you wanna finish it in 24 days you can watch 30 minutes each, if you wanna finish it in 6 days you can watch 2 hours each if you wanna finish it in my way you can try my steps day 1: 00:00 - 51:44 day 2: 51:44 - 1:39:08 day 3: 1:39:08 - 2:53:59 day 4: 2:53:59 - 3:32:37 day 5: 3:32:37 - 3:52:12 day 6: 3:52:12 - 6:07:25 day 7: 6:07:25 - 6:32:32 day 8: 6:07:25 - 6:44:50 day 9: 6:44:50 - 9:46:28 day 10: 9:46:28 to 12:00:00 *GOOD JOB YOU FINISH IT IN 10 DAYS* oh by the way dont try 15 minutes a day cuz it will take a full 48 days just to finish it and also dont try 1 chapter a day cuz thats a full 77 days so the best for you is between 30 - 45 mins or mine or 30 mins a day or 1 hour a day or 2 hours a day or 3 hours a day or 4 hours a day, its really up to you, i recomend 2- 4 chapters a day too is really up to you!
Excellent mate. But the problem is every session takes more than than 1 hour. We as a beginners would replay a lot. Hence sometimes we got devastated even though python was simple than other rivals... I hesitated and drowned but still i am learning
@@Sjjeien but else if you wanted it not too much you watch every 15 or 30 mins everyday, i also already displayed that in my comment under the schedule
@@Sjjeien im taking a bachelor's in computer science and i still keep replaying bro code's programming language courses as a review for my data structures and algorithms course, mastering the basics is key to be a better programmer so keep it up dude 💪💪💪
A better way to write the code at 26:26 lol #calculate area of an rectangle print("""this program rearranges and finds length, width or area of rectangle if you dont have any of the values enter 0 please""") w = int(input("enter the width of the rectangle: ")) l = int(input("enter the length of the rectangle: ")) a = int(input("enter the area of the rectangle: ")) if type(a) and type(l) and type(w) is int: if a == 0: answer = w*l print(f"the area of the rectangle is {answer}") quit() elif w == 0: answer = a/l print(f"the width of the rectangle is {answer}") quit() elif l == 0: answer = a/w print(f"the length of the rectangle is {answer}") quit() else: print("error restart the code please")
As everyone here has already commented; you are the greatest! Clear, concise, entertaining, and no BS - just teaching by example. Great stuff. Unfortunately I haven't been able to figure out how to copy the code that you use for some of the lessons when you comment that you'll post a link in the video description. Color me embarrassed to have to ask, but what am I missing?
You are actually the best Content Creator ever, thanks to you i learned HTML, CSS, JavaScript and Python, all of it while enjoying your deep charming voice, AND FOR FREE!
user_name = "bro code" year = 2024 pi= 3.14 is_admin = True print(f"hello your username is {user_name}") print(f"the number of pi is {pi}") if is_admin: print(f"you are the admin") else: print(f"you are not the admin") output: hello your username is bro code the number of pi is 3.14 you are the admin
I'll put my stuff here, because why not. user_name = "That guy" year = 2024 pi = 1987 is_admin= True print("Your username is {user_name}") print("Your corresponding pi number is {pi}") if is_admin print("Congatulations for being accepted into the {year} team") else: print("Sorry, but you weren't accepted into becoming admin. Please try again later")
@@supergamergrill7734 Ill also put my stuff on here cuz why not... user_name = "badboy" year = "2009" pi = 3.14 is_admin = True print(f" Hello, I'm {user_name}. I was born in {year} and I want to answer the question. Is pi equal to {pi}?: {is_admin}💀)
You are the best teacher in the world. I am really glad to have met you. I am looking forward to more of your teachings. You have helped me a lot. Thank you very much.
this has happened several times with me where i have thought of doing something new or restarting something after a break and i dont know how or why but suddenly a video regarding the same is uploaded by someone i follow
I was just gonna give up the shitty mosh hamedani tutorial that i dont get anything of and give up learning python as a whole then i saw this legendary vid coming outta nowhere, bro saved me
This the best time that you posted for me❤❤❤ I started my engineering for computer science yesterday was my first class and tomorrow is a lab session Thank you so much for giving out this information for free, we need more people like you❤❤❤
@@Onyekwenachinonso good move bro. I already knew a thing or two about python so the first 2 hours was easy. Now the hard part begins tmr. More learning less easy
Corrected Version: is_Bro = True # If is_Bro is set to True it will print Thank you for this video # and If false it will say sad if is_Bro: print("Thank you for this video") else: print("Sad")
his is just for me to track where I am in the video Sitting 1: 38:00 Sitting 2: Sitting 3: Sitting 4: Sitting 5: Sitting 6: Sitting 7: Sitting 8: Sitting 9:
adjective1 = input("enter an adjective (description): ") noun1 = input("enter a noun (person, thing): ") adjective2 = input("enter an adjective (description): ") verb1 = input("enter a verb ending with 'ing': ") adjective3 = input("enter an adjective (description): ") print(f"today i went to a {adjective1} learning centre.") print(f"there i saw a {noun1}.") print(f"{noun1} was {adjective2} and {verb1}.") print(f"i was {adjective3}.")
Dang, just commenting to support. This man dropped 12 hours of content and then I looked up to see he raised eight-and-a-half thousand dollars for cancer research. Wish you the happiest of lives man!
I’m making it my goal to finish this course regardless of all the struggles I deal with daily. Here is the first variable assignment: shoe_size = 32 eligible_to_vote = True eye_color = “brown” electricity_units = 20.43
Here is how to change the console colors to be green, like mine, or another color.
I forgot to mention that in the video 😅
File -> Settings -> Color Scheme -> Console Colors -> Console -> Standard Output
ty bro
I love you
what about in vs code, how do we do it there
bro please make a video about how to deploy a java application with a mysql database
Hey man I'm 3 months late but I want to thank you for every thing you did
I'm just commenting to support. Honestly flabbergasted you posted 12 hours of real content for free. Bro is destroying the competition.
100th Like!
bro even put a fundraiser on the video. this guy is too good to be true 😂
Now you know how to print useless text on the screen in every way possible he could come up with.
I just don't see that as a skill worth wasting 12 hours for
@NubsWithGuns Are you dumb? It doesn't matter what tutorial you look up, all of them are like this. Why? Because how tf are you supposed to learn programming? Making an app? Without knowing what a for loop is? After this tutorial, I took a look at Harvard's CS50's Python course, and this tutorial somehow is more understandable than that one.
@@NubsWithGunswhat would you advice as a better alternative for someone trying to learn the best way possible?
My journey to finish this course by the End of the Year
Date: 10 December 2024
Day 1: Completed (00:21:15) [will continue from "user input"]
Day 2: Completed (01:00:06) [will continue from "calculator program"]
Day 3: Completed (01:21:28) [will continue from "string methods"]
Day 4: Completed (02:06:28) [will continue from "for loops"]
Day 5: Completed (02:23:03) [will continue from "lists, sets, and tuples"]
Day 6: Completed (03:03:27) [will continue from "dictionaries"]
Day 7: No progress as I was traveling
Day 8: Completed (03:19:41) [will continue from "random numbers"]
Day 9: Completed (04:02:49) [will continue from "default arguments"]
Mad Libs Game:
adjective1 = input("Enter an adjective(description of something): ")
name = input("Enter a name: ")
noun = input("Enter a noun(person, place, thing): ")
plural_noun = input("Enter a plural_noun: ")
verb_ending_in_ing = input("Enter a verb ending in -ing: ")
adjective2 = input("Enter an adjective: ")
adjective3 = input("Enter an adjective: ")
food_item = input("Enter a food item: ")
drink = input("Enter a drink: ")
print(f"One fine {adjective1} day, {name} decided to visit the park.")
print(f"They brought their favorite {noun} to play with.")
print(f"At the park, they saw a group of {plural _noun} doing {verb_ending_in_ing}.")
print(f"It was so {adjective2} that they couldn't resist joining in!")
print(f"Later, they enjoyed a {adjective3} picnic with {food_item} and {drink}.")
print("It was a day to remember!")
# Compound Interest Calculator
Principal = float(input("Enter your principal amount: "))
while Principal
Went beyond for this one, lol!
Shooping cart program
foods = [] # List for food items
prices = [] # List for prices
quantities = [] # List for quantities
total = 0 # Initialize total to 0
while True:
# Ask user for food item or exit option
food = input("Enter a food to buy (or 'q' to quit): ")
if food.lower() == "q": # Break loop if user wants to quit
break
# Add food to list
foods.append(food)
# Get and append the price as a float
price = float(input(f"Enter the price for {food}: $"))
prices.append(price)
# Get the quantity needed as an int
quantity = int(input(f"Enter the quantity for {food}: "))
quantities.append(quantity)
# Display cart
print("-------Your Cart-------")
for x in range(len(foods)): # Iterate through the lists
print(f"{foods[x]} x {quantities[x]} @ ${prices[x]:,.2f} each")
print("-----------------------")
# Calculate and display the total cost
for y in range(len(prices)): # Multiply each price by its quantity
total += prices[y] * quantities[y]
print(f"Your total is: ${total:,.2f}")
GET BACK TO IT
@@JohnSmith-u6j Yes sir 🫡
Thank you! was considering procrastinating since I've had a long journey, but I'll get started and do a bit.
Thanks again!
For every beginner out there, I suggest you to PAUSE the video if you are getting confused.
Take a short break, eat something or drink. Go back to PC and re-watch from where you paused.
I do this too and this makes me refresh my brain. And if I STILL don't understand, I will research about it on internet or watch a short video on RUclips related to the topic that I did not understand.
GOOD LUCK!
i will save your text in my brain Thank You
the only logical way to do it honestly, glad to have read this quality comment
That's exactly what I do, and it works fine. It's just too much to store at once.
I wish I read this first, I almost died on this 12-hour marathon! 😭
wonderful
My Progress for finishing this course:
Day 1 : 3:03:26
Day 2 : 06:07:25
Day 3 : 07:33:33
Day 4 : Break Day
Day 5 : 08:38:48
Day 6 : School Stuff
Day 7 : School Stuff
Day 8 : 09:50:00
Day 9 : School stuff
Day 10: 12:00:00
Done!
would you recomend doing it? :)
@@skaterpro142 this is one of the best beginner guides for python from the ones i have seen, if you wanna learn python go for it
Seriously,he make everything free and fundraising for the hospital.Mad respect for this gigachad
I agree W Mans
thats literally the reason why he's using a gigachad pfp. What a guy huh..
thats literally the reason why he's using a gigachad pfp. What a guy huh..
I dont believe in charity seem im pretty the mast majority of them are scam but the fact that his guys is good and its willing do donate fr is giga chad behavior
Pycharm isn't free, it's 30 day trial then it's $99.
[ = project]
#1 (00:00:00) python tutorial for beginners
#2 (00:05:49) variables
#3 (00:16:05) type casting
#4 (00:21:15) user input
#5 (00:32:42) madlibs game
#6 (00:37:55) arithmetic & math
#7 (00:51:46) if statements
#8 (01:00:06) calculator program
#9 (01:05:59) weight conversion program
#10 (01:09:59) temperature conversion program
#11 (01:13:58) logical operators
#12 (01:21:28) conditional expressions
#13 (01:27:03) string methods
#14 (01:39:08) string indexing
#15 (01:46:35) format specifiers
#16 (01:51:55) while loops
#17 (01:58:53) compound interest calculator
#18 (02:06:28) for loops
#19 (02:11:33) countdown timer program
#20 (02:17:28) nested loops
#21 (02:23:03) lists, sets, and tuples
#22 (02:38:08) shopping cart program
#23 (02:45:21) 2D collections
#24 (02:53:59) quiz game
#25 (03:03:27) dictionaries
#26 (03:11:33) concession stand program
#27 (03:19:42) random numbers
#28 (03:24:16) number guessing game
#29 (03:32:37) rock, paper, scissors game
#30 (03:42:06) dice roller program ⚂
#31 (03:52:12) functions
#32 (04:02:50) default arguments
#33 (04:08:56) keyword arguments
#34 (04:15:40) *args & **kwargs
#35 (04:30:33) iterables
#36 (04:37:04) membership operators
#37 (04:45:56) list comprehensions
#38 (04:56:17) match-case statements
#39 (05:02:13) modules
#40 (05:08:51) scope resolution
#41 (05:14:22) if name == 'main':
#42 (05:23:34) banking program
#43 (05:38:34) slot machine
#44 (05:58:45) encryption program
#45 (06:07:26) hangman game
#46 (06:32:32) python object oriented programming
#47 (06:44:50) class variables
#48 (06:53:06) inheritance
#49 (07:00:02) multiple inheritance
#50 (07:08:04) super()
#51 (07:21:10) polymorphism
#52 (07:29:15) duck typing
#53 (07:33:34) static methods
#54 (07:39:31) class methods
#55 (07:46:16) magic methods
#56 (07:59:51) @property
#57 (08:07:33) decorators
#58 (08:14:57) exception handling
#59 (08:20:46) file detection
#60 (08:27:47) writing files
#61 (08:41:33) reading files
#62 (08:48:29) dates & times
#63 (08:54:46) alarm clock
#64 (09:05:03) multithreading
#65 (09:13:45) request API data
#66 (09:22:19) PyQt5 GUI intro
#67 (09:31:27) PyQt5 labels
#68 (09:40:23) PyQt5 images
#69 (09:46:28) PyQt5 layout managers
#70 (09:53:07) PyQt5 buttons
#71 (10:00:12) PyQt5 checkboxes
#72 (10:06:42) PyQt5 radio buttons
#73 (10:15:55) PyQt5 line edits
#74 (10:21:55) PyQt5 CSS styles
#75 (10:32:48) digital clock program
#76 (10:48:38) stopwatch program
#77 (11:06:05) weather API app
bro the video has been out for 2 hours and you casually summarized a 12 hours video
@@ibader6248 It was already summarized in the description XD
Lovely
People like you are important in life❤
you lit just copied and pasted it from the description lmao👀👀👀👀👀👀👀👀👀👀👀👀
In ancient Greece, the top philosophers would just come out to the city square and give free lectures on geometry or history or whatever to anyone who wanted to attend. 2,000 years later we have stuff like a 12-hour course teaching you the basics of Python for free. Thank you so much for what you do. We're watching, we're learning, and it's really great to have you here.
Respect the chad who traveled from ancient Greece through the time to nowadays, mastered Python and sharing this knowledge with us for free. What a chad
same in the golden age
This is top tier commenting rn. It applauses the content creator while adding a fun fact in such an elegant and fantastic way!!!
@@TolegenAibatullin ironic that Python is a Greek word and a monster in Greek mythology
This is just for me to track where I am in the video
Sitting 1: 32:41
Sitting 2: 1:00:00
Sitting 3 1:21:19
Sitting 4 1:39:06
Sitting 5: 2:17:34
Sitting 6 2:23:06
Sitting 7: 3:03:19
12/13/24 Sitting 8: 3:42:05
12/18/24 Sitting 9 4:02:31
HEY come back youre not finnished!! you still have 9 hours to go
I will be your first comment bro! Keep going!
9 more hours buddy..
@@marcusOlson-x7g Now 8 hours and 20 min!
You actually came back! Good job!
As a “intermediate beginner” to coding, i say that this is probably the clearest explanation to the point where I needed to look at. The while loops really helped me!
madlibs atempt:
v1 = input("1. Proper Noun (Person’s Name): ")
v2 = input("2. Noun: ")
v3 = input("3. Adjective (Feeling): ")
v4 = input("4. Verb: ")
v5 = input("5. Adjective (Feeling): ")
v6 = input("6. Animal: ")
v7 = input("7. Verb: ")
v8 = input("8. Color: ")
v9 = input("9. Verb (ending in ing): ")
v10 = input("10. Adverb (ending in ly): ")
v11 = int(input("11. Number: "))
v12 = input("12. Measure of Time: ")
v13 = input("13. Color: ")
v14 = input("14. Animal: ")
v15 = int(input("15. Number: "))
v16 = input("16. Silly Word: ")
v17 = input("17. Noun: ")
print(f"""This weekend I am going camping with {v1}. I packed my lantern, sleeping bag, and
{v2}. I am so {v3} to {v4} in a tent. I am {v5} we
might see a {v6}, they are kind of dangerous. We are going to hike, fish, and {v7}.
I have heard that the {v8} lake is great for {v9}. Then we will
{v10} hike through the forest for {v11} {v12}. If I see a
{v13} {v14} while hiking, I am going to bring it home as a pet! At night we will tell
{v15} {v16} stories and roast {v17} around the campfire!!""")
result:
1. Proper Noun (Person’s Name): Maria
2. Noun: horse
3. Adjective (Feeling): bored
4. Verb: eat
5. Adjective (Feeling): happy
6. Animal: mouse
7. Verb: clapping
8. Color: turqois
9. Verb (ending in ing): pulling
10. Adverb (ending in ly): hardly
11. Number: 24
12. Measure of Time: night
13. Color: green
14. Animal: dog
15. Number: 65
16. Silly Word: pus*y
17. Noun: pen
This weekend I am going camping with Maria. I packed my lantern, sleeping bag, and
horse. I am so bored to eat in a tent. I am happy we
might see a mouse, they are kind of dangerous. We are going to hike, fish, and clapping.
I have heard that the turqois lake is great for pulling. Then we will
hardly hike through the forest for 24 night. If I see a
green dog while hiking, I am going to bring it home as a pet! At night we will tell
65 pus*y stories and roast pen around the campfire!!
NICE MAN>
For the weight conversion program.
(01::05:59)
unit = input("Kilograms or Pounds? (K or L): ").upper() # Convert input to uppercase
Because when you enter l (lowercase) you get the right result but when you enter k, you get "k was not valid"
Thank you G!
Thanks bro i was just thinking about this problem 😊
Yeah i faced that problem but i let it be that has before learning about the upper and lower but i didn't know i can use it like that thanks!
Here is my journey to finish this course as a 11 year old!:
day 1: 32:41
day 2: 1:00:05
day 3: 1:39:00
com' on bro day 4
bro you got this! come back!
bro gave up
come back lil bro
@@Cr7Goat-t7p hecker
Bro makes a Free 12 Hour well explained course and makes it a fundraiser. A real Gigachad.
8:26:40 Bro Code wallpaper reveal + he uses Edge + he's got Nuclear Launch Codes on his desktop 😱
may god bless him
hes the real gigachad but more in value
bro fr taught me more Python than any teacher in my school
Bro code taught me advanced coding languages and my school teaches me scratch 😭
Explained adequate.
Cant say very well
Dude I'm in college for Cyber Security and am taking my first python class rn. Our textbooks can really overcomplicate and flood you with information and it has been very difficult for me. The fact that you uploaded 12 HOURS of straight to the point, easy to understand content with real time examples is so amazing. You have helped me pass my python class. You are a hero dude! :)
Yeah same , from his contents I am understanding stuff
Less reading more typing bruh😂
ay man fellow cyber security stud here too good luck on your journey brother
damn same my college starts this week and um im kinda fcked up
is this easy to learn directly without any knowledge on coding ??
I was literally about to study Python and you just posted this video.
samee bro, he is such a legend
The timing be crazy🔥🔥
Same
Same lol, the timing was just peak
Me too!
A journal of my progress in python as a newbie with zero experience in coding and im 13
Day 1 10:40
Day 2 34:02
Day 3 42:57
Day 4 59:55
(I forgot the exact time stamps before day 4 so they are inaccurate)
Day 5 1:07:45
Gooddddluckk
a lot of people stop at 1 because of math.
teaching an entire coding language for free in one video is insane, God bless this man.
its beginner
@@Monkey-fonky is that bad ? where can I learn more
@Monkey-fonky is it that bad bro u gotto explain
to think i was gonna pay mosh $19 ..
@@Napolitano-Lazo not necessarily but if you want to go pro u need to use a course or smth else
Day 1: 01:05:00
Day 2: 01:30:00
Day 3: 01:46:35 (did a rest day, was busy with life)
Day 4: 02:45:21
Day 5: 03:20:50
where are you bro
@@negan699@negan699 I did a 1 day stop to work in a side project on python I am making a tiny Text RPG, I could drop the code if you wanna check it out ahahahhaha
@negan699 I did a 1 day stop to work in a side project on python, I am making a tiny Text RPG, I could drop the code if you wanna check it out :)
@@negan699 I was busy yesterday working on a small python project on the side, I am doing a tiny text rpg.
I can send you the code if you would like to check it out :)
get back to it rn. u got this
Ive been inconsistent so ima track my days rn, I promise im completing the course asap lol
Where I left off: 1:32:36
Day 2: 1:40:19 I couldn't watch the course because I had to prep for some tests at school, my head is all heavy and am all restless because little sleep, but now that winter break's here I will complete the course asap
get back to it 🙌
@@JohnSmith-u6j sorry I had to study for 2 tests before the break, but now's when I really start grinding!
Bro casually dropped 12 hours of content for free
Better content than paid schools do, too (y)
This guy is goated fr.
> release amazing content for free
> have gigachad profile pic
Truly lives up to his PFP
What do you call an economy where an education is given for free? Is it socialism? Whatever it is this guy and freecodecamp is part of that movement.
Cause he's that Based!
i really struggle with my sleep schedule but your voice helps me fall asleep in no time. thank you so much, i love your channel (i also learned basics of c++ following your course, i mean i dont only sleep)
😭😂
Here is my journey to finish this course as a 11 year old!:
day 1: 32:41
day 2: 1:00:05
day 3: 1:39:00
day 4: 1:52:00
day 5: 2:23:00
day 6: 2:50:00
Let's finish this
come back bro trust
Keep up the great work. If you have such realistic plans from this young age, you have a very promising future by the Grace of God.
come back bro i am also 11
@Milkman_thesecond lmao I'm 21, just finished my first programming course at a top 100 university in both python and java you got this
I used this instead for 50:37
import math
a= float(input("What is the value of a ?"))
b= float(input("What is the value of b? "))
hypotenuse = math.sqrt ((a **2 ) + b **2)
print(f'the value of hypotenuse is {hypotenuse}')
Thank you very much! There are many of us who can’t afford all the courses and get easily overwhelmed by the content. But nowadays it’s practically free to learn a big chunk of the things you want to learn because of people like you!
at the time of your first python tutorial i didn’t even know what an IDE was, now i’ve created a compiler for my programming language. thanks bro.
wow
time flies fast isn't it?
My man, don't stop learning and growing.Wish you all the best
That's crazy work dude keep it up 🙌
Noting my python time stamps for each day at 16:
Day #1: 32:42
Day #3: 1:39:08
Just got back into coding only to find an updated version of your tutorial. Awesome!
real
i have been watching the old one, but haven't finished it (have been learning very inconsistently), should finish learning the old one and then come back to learn what i don't know or should i just watch this one?
@@dihaozhanI would say this one, im not sure with the differences with the old one and the new one
@@dihaozhan watch this one mate
@@Tharun-wk6rj oh ok thanks
adjective1 = input("Type a adjective: ")
adjective2 = input("Type another adjective: ")
adjective3 = input("Type one more adjective: ")
noun1 = input("Type a noun: ")
verb1 = input("Type a verb ending in \"ing\": ")
print(f"Today I went to a {adjective1} town")
print(f"In the town, I saw a {noun1}")
print(f"{noun1} was {adjective2} and {verb1}")
print(f"I was {adjective3}!")
Day 1: 1:00:07 - 8. Calculator Program
1 like = 1 hour of coding
Edit: 790 hours💪 , thanks for the motivations
Done
We know you will not actually do it, you're just doing it for the likes
🧢🧢cap, you doing it for likes🧢🧢
What are you coding?
I don't think he's lying when he actually comes back to edit the comment...
I'm taking one of my 3 final courses before I graduate this December with my bachelors degree. It's a Senior project that will focus on building a program that will retrieve data to build a business model for some miscallaneous company. I'm not completely clear on the specifics since this class just started last week. But, I do know that we will be using Pyhon exclusively. And I suck at programming. So I am going to take full advantage of your course. I want say thank you for your efforts and time.
Your C++ course helped me a lot when I was trying to get into the language for exams in technician/bachelor professional school, and I skimmed through your older python course to get better at a language I usually use to solve projects that come along. Looking forward to these 12 hours of content, thank you!
This is for me to track my progress
Day 1: 21:15
Day 2: 46:30
Day 3: 1:00:06
Day 4: 1:21:28
Day 5: 1:27:00
3:19:27 heres my try at a very neat, professional looking version (sorry for the unoptimized spaghetti code lmfao)
menu = {"Popcorn":3.50, "Soda":1.50, "Candy":1, "Pizza":9}
cart = []
total = 0
print(f"{"Menu":-^17}")
for key,value in menu.items():
print(f"{key:10} ${float(value):> 5.2f}")
print("-"*17)
while True:
user_inp = input("What item would you like? (q to quit) ")
if user_inp.lower() == "q":
break
elif menu.get(user_inp.lower().capitalize()):
print(f"{user_inp.lower().capitalize()} added to menu.")
cart.append(user_inp.lower().capitalize())
else: print(f"{user_inp.lower().capitalize()} is not a valid menu item.")
for food in cart:
total += menu.get(food)
print()
print(f"{"Order":^26}")
print("-"*26)
for items in cart:
print(f"{items:19} ${menu.get(items):>.2f}")
print()
print(f"Your total is: ${total:> 9.2f}")
print("-"*26)
I just optimized it by a bit, would you like to see it?
menu = {"popcorn":3.50, "soda":1.50, "candy":1, "pizza":9}
cart = []
total = 0
print(f"{"Menu":-^17}")
for key,value in menu.items():
print(f"{key.capitalize():10} ${value:> 5.2f}")
print("-"*17)
while True:
user_inp = input("What item would you like? (q to quit) ")
user_inp = user_inp.lower()
if user_inp == "q":
break
elif menu.get(user_inp):
print(f"{user_inp.capitalize()} added to menu.")
cart.append(user_inp)
else:
print(f"{user_inp.capitalize()} is not a valid menu item.")
for food in cart:
total += menu.get(food)
print()
print(f"{"Order":^26}")
print("-"*26)
for items in cart:
print(f"{items.capitalize():19} ${menu.get(items):>.2f}")
print(f"Your total is: ${total:> 9.2f}")
print("-"*26)
any idea why the total += menu.get(user_inp) does not work for me? A TyperError keeps popping up when i go to break the While Loop
this is my code:
menu = {"Pizza": 2.99,
"Hot Dog": 1.50,
"Popcorn": 2.50,
"Fries": 1.99,
"Soda": 1.50,
"Freeze": 1.99}
cart = []
total = 0
breaker = "q"
print(f"{"Menu":-^17}")
for key, value in menu.items():
print(f"{key:10}: ${value:.2f}")
print("------------------------")
while True:
user_inp = input("Select an item (q to quit)").lower()
if user_inp == breaker:
break
elif menu.get(user_inp.lower().capitalize()):
cart.append(user_inp)
else:
print(f"{user_inp.lower().capitalize()} is not a valid item.")
for user_inp in cart:
total += menu.get(user_inp)
print()
print(f"{"Order":^26}")
print("-"*26)
for items in cart:
print(f"{items.capitalize():19} ${menu.get(items):>.2f}")
print(f"Your total is: ${total:> 9.2f}")
print("-"*26)
@@bl4nktrill781 The user_inp is lower case while the dictionary is written in capitalize.
Hence it will return None when trying to get the price.
Next time if you want to see what when wrong. You can try printing out user_inp, menu.get(user_inp),etc work for me.
Btw I really love using 'q' for breaker cuz it help a lot with readability.
Personal Tutorial Logbook.
Day-1 (12 October 2024, 3:40 AM)
00:00 - 1:10:00
Practice Break (1 Day)
Day-2 (14 October 2024, 2:57 AM)
1:10:01 - 2:23:00
Day off (Learning Web Developing)
Day off (Learning Web Developing)
Practice Break(1 Day)
Day-3 (17 October 2024, 8:14 AM)
2:25:00 - 3:03:00
Day off (Learning Web Developing)
Day off (Learning Web Developing)
Day off (Learning Web Developing)
Break (Personal Reason)
Practice Break (1 Day)
Day Off (Learning Python for Data Science)
Wish me luck guys. I need to learn python because I selected AI and Data Science for University CS Major.
I have also started watching this video from today.
update us asap
@@SuhanaSaifi-m4lgood luck 😊
keep going bro
Thank you bro@@munchingorange234
> release amazing content for free
> have gigachad profile pic
Truly lives up to his PFP
and donates to hospitals
commenting to support, new to coding this looks crazy to get into wish me luck!
at 1:09:59 for temp conversion program, i have a better version
temp = float(input("Current temperature: "))
unit_1 = input("current unit (K, C, F): ")
if unit_1 == "K":
unit_2 = input("converted unit(C, F): ")
if unit_2 == "C":
temp_1 = temp - 273.15
print(f"temperature in C is = {temp_1}")
if unit_2 == "F":
temp_1 = ((temp - 273.5) * (9/5)) + 32
print(f"temperature in F is = {temp_1}")
elif unit_1 == "C":
unit_2 = input("converted unit(K, F): ")
if unit_2 == "K":
temp_1 = temp + 273.15
print(f"temperature in K is = {temp_1}")
if unit_2 == "F":
temp_1 = (temp * (9/5)) + 32
print(f"temperature in F is = {temp_1}")
elif unit_1 == "F":
unit_2 = input("converted unit(K, C): ")
if unit_2 == "K":
temp_1 = ((temp - 32) * (5/9)) + 273.15
print(f"temperature in K is = {temp_1}")
if unit_2 == "C":
temp_1 = (temp - 32) * (5/9)
print(f"temperature in C is = {temp_1}")
this is more detailed program and user will have more control over the output he/she wanted, also it will help new programmers to get a better control over syntax
Here's a shove it down into few lines as possible version, used as much as I learned from the video:
unit_list = ["K", "C", "F"]
conversion = ["KC", "number - 273.15", "KF", "(number - 273.15)*1.8+32","CF", "number*1.8+32" ,"CK","number+273.15","FC","(number-32)*5/9","FK","(number-32)*5/9+273.15"]
temp = input("Current temperature (K,C,F): ").upper()
number = float(temp[0:len(temp)-1])
unit_list.remove(temp[len(temp)-1])
unit_c = input(f"What unit do you want to convert to?({unit_list[0]},{unit_list[1]}): ")
print(f"The converted value is {eval(conversion[conversion.index(temp[len(temp)-1]+unit_c)+1]):.2f}°{unit_c}")
It's currently at 7 lines of code, but I'm sure someone could bring it down lower.
input for temp needs to be #unit for example: 234.1F or 32C.
If you shove in the number expression into the conversion list where ever the string number appears, then the code gets reduced down to 6, but not sure what else I could do 😅
I'm 12 yrs old and I decided to learn python coding.
your video is helping me a lot!! Such a simple and crisp explenation, and there's even programs in between to practice. It's just perfect!
12 hours of coding, and it's free and so good! Thanks a lot for this 🥳😃😃
13 yr old here :)
#Calculator
while True:
operator = input('Enter an operator please (+, -, *, / ): ')
if operator in ('+', '-', '*', '/'):
break
else:
print('Invalid operator, choose one of the following: +, -, *, /')
num1 = float(input('What is the first number? '))
num2 = float(input('What is the second number? '))
if operator == '+':
print(round(num1+num2))
elif operator == '-':
print(round(num1-num2))
elif operator == '*':
print(round(num1*num2))
elif operator == '/':
print(round(num1/num2)) round()
This one under is a lot better.
def calculator():
while True:
expression = input("Enter expression: ")
# Validate and evaluate
try:
result = eval(expression)
print("Result:", result)
except Exception as e:
print("Error:", e)
calculator()
Just think better
@@aronix-o7 He's learning, let him learn. You don't have to ruin other people's fun.
@@nosiest huh i didnt say anything bad
i just told him to not overcomplicate things
Thats a valid advice in the future
@@aronix-o7 "Just think better"
You could've worded it a bit better. That's not advice, that's just straight up saying he's not thinking straight lmao
@@nosiest english is not my first language
you speak english because thats the only language you probably know
i speak english because thats the only language you understand
we are not the same
starting my journey today thanks bro👍
Me either🤗
For Every Like i Will Do 1 Line Of Code
only 1? pfffff
Bro...I literally just downloaded your other one why you do dis 😭😭😭😭
make it 1000 lines of code per like
Even I can do that. 😂
What is your program going to be? Multiple print statements saying Hello World? 😂
bro just gave us quality education and thought we wouldn't notice
Bro just posts 12 hour long video for free and it's a fundraiser.
Please show this guy some love, so he can continue helping everybody!
This comment is to remind myself to finish this tutorial no matter what.
First sitting: 3:18 Pm to 3:57 Pm ending at: 38:04
Second sitting: 4:31 Pm to 6:53 pm ending at 1:14:07
Third sitting: 3:34 Pm to 4:06 pm ending at 1:35:00
I am in the 1st quarter of this thing and just wanna say much appreciated for sharing your knowledge. Zero beginner learner here.
shutup
11:52:26 "Ok everybody we near the end"
Thanks for your dedication bro!
Did you really benefit?
@montserlhsnat3354 duh
@montserlhsnat3354 you bet he did
MASSIVE THANKS! learning python ATM and some stuff just needed another presentation to click. your presentation method is excellent ==A+!
operator = input("Enter an operator(+ - * /)")
num1 = float(input("Enter the 1st number: "))
num2 = float(input("Enter the 2nd number: "))
print(num1 + num2)
This Dude is the Best dropping a 12 hour coarse and taking the time where your not left out, he deserves another 10M subs
if you want to finish this in 12 days you can watch an hour each, if you wanna finish it in 24 days you can watch 30 minutes each, if you wanna finish it in 6 days you can watch 2 hours each if you wanna finish it in my way you can try my steps
day 1: 00:00 - 51:44
day 2: 51:44 - 1:39:08
day 3: 1:39:08 - 2:53:59
day 4: 2:53:59 - 3:32:37
day 5: 3:32:37 - 3:52:12
day 6: 3:52:12 - 6:07:25
day 7: 6:07:25 - 6:32:32
day 8: 6:07:25 - 6:44:50
day 9: 6:44:50 - 9:46:28
day 10: 9:46:28 to 12:00:00
*GOOD JOB YOU FINISH IT IN 10 DAYS*
oh by the way dont try 15 minutes a day cuz it will take a full 48 days just to finish it
and also dont try 1 chapter a day cuz thats a full 77 days
so the best for you is between 30 - 45 mins or mine or 30 mins a day or 1 hour a day or 2 hours a day or 3 hours a day or 4 hours a day, its really up to you, i recomend 2- 4 chapters a day too is really up to you!
Excellent mate.
But the problem is every session takes more than than 1 hour. We as a beginners would replay a lot. Hence sometimes we got devastated even though python was simple than other rivals...
I hesitated and drowned but still i am learning
@@Sjjeien its okay i am begginer too like you i am stiil learing i am just trying to help people as best as i can
@@Sjjeien but else if you wanted it not too much you watch every 15 or 30 mins everyday, i also already displayed that in my comment under the schedule
@@Sjjeien im taking a bachelor's in computer science and i still keep replaying bro code's programming language courses as a review for my data structures and algorithms course, mastering the basics is key to be a better programmer so keep it up dude 💪💪💪
I'm gonna watch it all like a psychopath
19:36 - At this point, i didn't know why i had a type error, until i saw i forgot to type age = str(age) 😅
i try to learn python for a while. And not gonna lie, you teach me more than any other tutor. Thanks Bro!
Just when I wanted to learn python i find a 12 hour video of python by bro code. Damn I am soo happy. Also your courses are amazing
A better way to write the code at 26:26 lol
#calculate area of an rectangle
print("""this program rearranges and finds length, width or area of rectangle
if you dont have any of the values enter 0 please""")
w = int(input("enter the width of the rectangle: "))
l = int(input("enter the length of the rectangle: "))
a = int(input("enter the area of the rectangle: "))
if type(a) and type(l) and type(w) is int:
if a == 0:
answer = w*l
print(f"the area of the rectangle is {answer}")
quit()
elif w == 0:
answer = a/l
print(f"the width of the rectangle is {answer}")
quit()
elif l == 0:
answer = a/w
print(f"the length of the rectangle is {answer}")
quit()
else:
print("error restart the code please")
As everyone here has already commented; you are the greatest! Clear, concise, entertaining, and no BS - just teaching by example. Great stuff. Unfortunately I haven't been able to figure out how to copy the code that you use for some of the lessons when you comment that you'll post a link in the video description. Color me embarrassed to have to ask, but what am I missing?
go to his python playlist and look for the project he is doing and in the video description for that project it has the code
@@doriansantiago8328 thanks
Name = "GiggaCHAD"
Kg = 78
Height = 7.9
He is a ALPHA_MALE = True
age = 251
Awesome presentation, really appreciated! Sharing knowledge is making the world a better place.
1:00:02 Finally done 1hr in 2 days due to school.
Will try to finish by end of the year.
You are actually the best Content Creator ever, thanks to you i learned HTML, CSS, JavaScript and Python, all of it while enjoying your deep charming voice, AND FOR FREE!
i have only seen his python and mysql vids, are the rest good?
@@deepnar_18 absolutely! probably the best courses rn
bro love ?
who thought you could learn things that you can earn money from for free Thanks Bro code 💗💗💗💗
user_name = "bro code"
year = 2024
pi= 3.14
is_admin = True
print(f"hello your username is {user_name}")
print(f"the number of pi is {pi}")
if is_admin:
print(f"you are the admin")
else:
print(f"you are not the admin")
output:
hello your username is bro code
the number of pi is 3.14
you are the admin
I'll put my stuff here, because why not.
user_name = "That guy"
year = 2024
pi = 1987
is_admin= True
print("Your username is {user_name}")
print("Your corresponding pi number is {pi}")
if is_admin
print("Congatulations for being accepted into the {year} team")
else:
print("Sorry, but you weren't accepted into becoming admin. Please try again later")
@@supergamergrill7734 Ill also put my stuff on here cuz why not...
user_name = "badboy"
year = "2009"
pi = 3.14
is_admin = True
print(f" Hello, I'm {user_name}. I was born in {year} and I want to answer the question. Is pi equal to {pi}?: {is_admin}💀)
You are the best teacher in the world. I am really glad to have met you. I am looking forward to more of your teachings. You have helped me a lot. Thank you very much.
no way you just dropped a 12hour video on python the second i opened vs code, are you in my walls
He just has that bro sense
this has happened several times with me where i have thought of doing something new or restarting something after a break and i dont know how or why but suddenly a video regarding the same is uploaded by someone i follow
Its the collective bro-conscious
I was just gonna give up the shitty mosh hamedani tutorial that i dont get anything of and give up learning python as a whole then i saw this legendary vid coming outta nowhere, bro saved me
Explaining every language like a master for free in a fundraiser. The real gigachad.
here is my progress so far (will keep editing untill i finish it ) :
sitting 1 : 1:17:01
sitting 2 : 2:38:01
This the best time that you posted for me❤❤❤
I started my engineering for computer science yesterday was my first class and tomorrow is a lab session
Thank you so much for giving out this information for free, we need more people like you❤❤❤
How mamy hours do u study and learn in class
for every like i'll do 10 lines of code
20
310 lines
690 lines
730 lines
810 lines.
I left a random comment. Doing this for the winter arc that will definetely fail on 4th day
delusion shant waiver
We have to push it together, I'm also doing this for winter arc
@@Onyekwenachinonso good move bro. I already knew a thing or two about python so the first 2 hours was easy. Now the hard part begins tmr. More learning less easy
day- 1 - 00:00:00 to 04:27:00
Is_Bro: True
If Is_Bro:
Print("Thank you for this video")
Else:
Print("Sad")
Corrected Version:
is_Bro = True
# If is_Bro is set to True it will print Thank you for this video
# and If false it will say sad
if is_Bro:
print("Thank you for this video")
else:
print("Sad")
@@christmascountdown1-k6d is_Name = "SpiritPredictor"
Print(f "Thank you {is_Name}")
I want to request you to please continue the c++ series with more conent. Like use QT with C++,
YEAH
python is weak but better than nothing am i right?
i mean uhhhhhh revealing what i mean at 3 likes
Soo reveal
REVEAL
This is just for me to track where I am in the video
sitting 1: 51:48
sitting 2: 1:14:01
sitting 3: 1:21:43
first_name = "Rare"
age = 17
gpa = 4.8
is_cool = True
interesting first name
@@user-mitUniversity-a3beaca69 meow
This guy loves PIZZA for sure
bro is NOT a CHAD...
but he is A *GIGA* CHAD!
._.
his is just for me to track where I am in the video
Sitting 1: 38:00
Sitting 2:
Sitting 3:
Sitting 4:
Sitting 5:
Sitting 6:
Sitting 7:
Sitting 8:
Sitting 9:
for each like i will write 5 lines of code
36:43 skibidi really?
even his pfp isnt as great as him
adjective1 = input("enter an adjective (description): ")
noun1 = input("enter a noun (person, thing): ")
adjective2 = input("enter an adjective (description): ")
verb1 = input("enter a verb ending with 'ing': ")
adjective3 = input("enter an adjective (description): ")
print(f"today i went to a {adjective1} learning centre.")
print(f"there i saw a {noun1}.")
print(f"{noun1} was {adjective2} and {verb1}.")
print(f"i was {adjective3}.")
#Assignment of 15:59
variable > User_name = "Jack"
int = 2024
float = 23.2
boolean =True
its wrong
1 like = 1 hour of studying
1 like = 100 lines of code
GL with 3000 lines
@@Royallight I'm cook4d
1 like = 5 push ups
*5 projects
@@asiamies9153 I’m really hoping you didn’t take my comment literally
Still alive or not?
He died type in the projects 😅😢
emotion = "I feel my anxiety drop as I watch Bro Code"
starRating = 10
focusRate = 9.8
satisfied = True
Day 1: 1:27:07
Day 2: 2:45:21
Day 3: 3:03:57 didn't do much was sick
Im 12 years old and at 2:22:24 thanks for the easy tutorial! Its very easy to understand thanks!!
day 1 - 32 mins
day 2 - 1 h
day 3 - 1h 20m
day 4 1h 45m
day 5 2h 15m
day 6 - 3h 10m
Day 01 : 1:26:24
Day 02 : 1:59:56
Day 03 : 2:37:07
Day 04 : 3:52:16
Day 05 : 6:32:35
Day 06 : 8:29:01
Day 07: 8:48:00
This is THE absolute best channel for beginners hands down
Dang, just commenting to support. This man dropped 12 hours of content and then I looked up to see he raised eight-and-a-half thousand dollars for cancer research. Wish you the happiest of lives man!
I love this guy. Started learning python this hear for school and this has been so useful. Thank you man :D
Bro you did what any Real Bro would do, helping a ton of other Bros.
This is to track my record pls ignore it :D
Sitting One 51:46
Sitting Two 1:39:07
I’m making it my goal to finish this course regardless of all the struggles I deal with daily.
Here is the first variable assignment:
shoe_size = 32
eligible_to_vote = True
eye_color = “brown”
electricity_units = 20.43
Good luck bud, I believe you can make it. Work hard, take breaks, and treat yourself along the way. You can do this! 🔥❤✨
You had me at 'I don't like boring introductions go download this now' lol
Goal: complete course in 12 weeks!
Progress Tracking
WEEK ONE
0-8:40 ✔
D1 - 2:37:20
D2 - 3:11:33
D3 - 3:42:12
D4 - 3:54:23