Python variables for beginners ❎

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 210

  • @BroCodez
    @BroCodez  2 роки тому +91

    # variable = a reusable container for storing a value
    # a variable behaves as if it were the value it contains
    # INTEGER
    age = 21
    players = 2
    quantity = 5
    print(f"You are {age} years old")
    print(f"There are {players} players online")
    print(f"You would like to buy {quantity} items")
    # FLOAT
    gpa = 3.2
    distance = 2.5
    price = 10.99
    print(f"Your gpa is {gpa}")
    print(f"You ran {distance}Km")
    print(f"The price is ${price}")
    # STRING
    name = "Bro"
    food = "pizza"
    email = "Bro123@gmail.com"
    print(f"Hello {name}")
    print(f"You like {food}")
    print(f"Your email is: {email}")
    # BOOLEAN
    online = True
    for_sale = False
    running = False
    print(f"Are you online?: {online}")
    print(f"Is the item for sale?: {for_sale}")
    print(f"Game running: {running}")

    • @pcoryx7143
      @pcoryx7143 2 роки тому +2

      Bro please continue this serie🙏, you are super❤

    • @APDesignFXP
      @APDesignFXP 2 роки тому

      Would you ever consider making discrete math course(logic & set theory)? For those who study cs/se?

    • @bernardondf
      @bernardondf Рік тому

      0:04 😮

    • @KiMim-wy1lb
      @KiMim-wy1lb 7 місяців тому

      bro code why you don't make this course has a certificate?

    • @zestyhotfish
      @zestyhotfish 6 місяців тому +1

      can someone tell me why is this calculator not working
      calculator = input( )
      print (int(calculator))
      if i remove the int lets say 1 + 5 if i say print (calculator) then it will print 1 + 5
      not 6 and if i write int so it calculate the 1 + 5 then i get an error please help

  • @VelixRoblox
    @VelixRoblox 2 роки тому +71

    name = "Tim"
    age = 16
    score = 97.5
    fail = False
    print (f" My name is {name}.")
    print (f" I am {age} years old.")
    print (f" I scored {score} marks in my math test!")
    print (f" Did I fail my math test?: {fail}")
    OUTPUT:
    My name is Tim.
    I am 16 years old.
    I scored 97.5 marks in my math test!
    Did I fail my math test?: False
    Thanks Bro Code for the AWESOME Tutorials! It's really helping!

  • @risaverc1217
    @risaverc1217 Рік тому +17

    This saved my life, i signed up for a certificate course but they have poor explanations abd you're mostly left on your own, this channel is the best!!!

  • @TheSpecialistOps
    @TheSpecialistOps 2 роки тому +35

    Got maybe 30 minutes left in the 12 hour python beginner course you have. This is near perfect timing.

    • @hardrock9199
      @hardrock9199 Рік тому

      How was it??

    • @Parsa.a298
      @Parsa.a298 6 місяців тому

      It was almost perfect.helped a lot​@@hardrock9199

  • @joanneosborne2428
    @joanneosborne2428 11 місяців тому +8

    I appreciate your training approach; it's clear, enjoyable, and straightforward. Thank you for keeping it simple and to the point.

  • @solarwater3298
    @solarwater3298 2 роки тому +54

    The legend is back after shorts...

  • @Joel-cq3hz
    @Joel-cq3hz 9 місяців тому +2

    I'm Brazilian and enjoying so much this wonderful course. Congratulations. Thanks for sharing.

  • @yld333
    @yld333 11 місяців тому +1

    Simple and concise! Great video.

  • @FirshtaSamadi
    @FirshtaSamadi Рік тому +3

    I've spent so much time to find a video that could help figure out what data types are, now thanks too you I know.

  • @joehaar1466
    @joehaar1466 Рік тому +1

    I usually do not leave any commentaries, I even rarely subscribe to channels but bro this channel is just something else, you are the real Bro. We are even the same age, 21 y.o. Well, not anymore but deep down in my soul I'm still 21 and watching these videos I can finally understand coding.

  • @andrewv8350
    @andrewv8350 2 роки тому +6

    Bro, you're the greatest tutor of all times! Thanks a lot.

  • @Nezuko-chan-89j
    @Nezuko-chan-89j Рік тому +2

    Your videos are a big help. Like no video on youtube teaches like you . Thanks

  • @jasomega2446
    @jasomega2446 11 місяців тому +2

    0:17 Taking notes.

  • @IronIsKing
    @IronIsKing 2 роки тому +17

    We all missed you bro, we are all glad you're back, you have taught me so much and if you want to take another break don't worry about it! :)

  • @zoominwithzee6103
    @zoominwithzee6103 Рік тому +1

    yo this is by far the most understanding explained video i have found thank you bro fr fr

  • @lookatrobot
    @lookatrobot Рік тому +8

    Thanks CODE BRO! You're the best programmer teacher I have seen. Ypu explain things very simple and detail and precise too, with headings and also mentioned what we're doing, e.g: "Basic Datatypes". You're such a great teacher. Thank You!!

  • @mygCosmin
    @mygCosmin 2 роки тому +1

    so nice to see you are back...never leave us again

  • @Just_iain
    @Just_iain 9 місяців тому +1

    here's one
    user_name = input("enter your name: ")
    user_input = input("text 'hello' to continue: ")
    if user_input == "hello":
    print(f"hello {user_name} what can i help you with?")
    while True:
    user_input2 = input("you: ")
    print("hold your horses, buddy, i don't have a neural network yet")
    else:
    print("you can't even say hello?")

  • @areufreal
    @areufreal 11 місяців тому +2

    F strings look cool

  • @tamantije2463
    @tamantije2463 8 місяців тому +1

    Is there any recent python course? I love the way you teach. Thank you man.

  • @cmo2295
    @cmo2295 7 місяців тому +1

    Integer: football players 54
    Float: passing yards per game 223.5
    String: name “Tom Brady”
    Boolean: strong arm= yes

  • @hf5655
    @hf5655 Рік тому +4

    You are a great teacher, thank you, new to python & you explained this beautifully :)

  • @akira_0055
    @akira_0055 Рік тому

    best free programming teacher ever

  • @god_gamer7667
    @god_gamer7667 2 роки тому +3

    Variable= coordinate_y=527
    coordinate_x=103
    coordinate_z=193
    print(coordinate_y)
    print(coordinate_x)
    print(coordinate_z)

  • @ocireocire
    @ocireocire 2 роки тому +1

    The tips & tricks helped me alot. Thank you so much, Bro Code. I love u.

  • @user-ace96plays
    @user-ace96plays Рік тому +1

    NICELY DONE BRO...❤

  • @eliseanghel3556
    @eliseanghel3556 Рік тому +2

    Your channel is the best! Thank you so much for all the information you provide us with!

  • @zamanincube1368
    @zamanincube1368 8 місяців тому

    It’s my first time understanding coding lesson

  • @egghead_at
    @egghead_at Місяць тому

    thanks bro my teacher said that if i can make a program i can be able to do computer science gcse this is what i needed ❤

  • @elishvfx
    @elishvfx Рік тому

    integer- 69
    Float- 69.420
    String- Bro code da best
    Boolean: Am i subbed = True

  • @pinbboy3
    @pinbboy3 6 місяців тому

    name = "Mario"
    age = 20
    lives = 9
    dead = False
    ocupation = "video game character"
    print(f"{name} It's a {ocupation}")
    print(f"He is {age}")
    print(f"He still have {lives} lives")
    print(f"Is he dead? {dead}")
    OUTPUT:
    Mario It's a video game character
    He is 20
    He still have 9 lives
    Is he dead? False
    Thanks for the tutorial!

  • @ChristianBajenting-o6n
    @ChristianBajenting-o6n 3 місяці тому

    thankyousomuchhh for the tips my friendd im feshmen BSIT course 1st year now I'll understand what is
    integers
    string
    float
    bolean
    btw im from Philippines thankyousomuchhh my friend❤️❤️

  • @profyle766
    @profyle766 2 роки тому

    This guy needs straight flowers from now!!!
    "Flawless" break down.

  • @rmnsbal6775
    @rmnsbal6775 5 місяців тому

    Thank you for your effort, seems very clear and straightforward

  • @floriansilbereisenfans2342
    @floriansilbereisenfans2342 2 роки тому

    It worked for my 64-bit PC. Thanks a lot.

  • @mohsinalirashidmohsinalira7513
    @mohsinalirashidmohsinalira7513 4 місяці тому

    Integer:
    ball = 3
    print(f" there are {ball} balls ")
    -----------------------------------------------
    Float:
    score = 85.8
    print(f" you got {score} in maths")
    -----------------------------------------------
    String:
    place = london
    print(f" I was born in {place} ")
    -----------------------------------------------
    Boolean:
    switch = True
    print(f" the switch is on? {switch} ")

  • @Ashoka0004
    @Ashoka0004 6 місяців тому

    succint and direct thanks Bro code.

  • @ulav
    @ulav Рік тому +1

    i love that you made mistakes and then cleared them up. im following along and i made the exact same mistakes. this just makes me excited to continue on with this course

  • @MindBodyStorm
    @MindBodyStorm 10 місяців тому

    💥very informative‼️

  • @Lina-yh4gt
    @Lina-yh4gt 5 місяців тому

    good continue

  • @CHris-yt3pp
    @CHris-yt3pp 2 роки тому +2

    You are gonna make my dreams come true, thank you very much bro

  • @wmstram1
    @wmstram1 Рік тому

    Watched it. Liked it.

  • @MohyDev
    @MohyDev Рік тому +25

    I have always believed that education is the ultimate code to crack. Thanks to Bro Code, I have been able to unlock some of the most complex programming languages and computer science concepts with ease. Your videos have been instrumental in helping me level up my skills. So, from the bottom of my heart (and stack), thank you for being the best educational channel out there. Keep up the good work, Bro Code! Your dedication to educating the masses about programming languages and computer science has been truly inspiring. I would love to connect with you and learn more about your journey and how you became one of the best educational channels out there. again, thank you for being a constant source of knowledge and inspiration for us all. You're the real MVP, Most Valuable Programmer

  • @hopekins974
    @hopekins974 9 місяців тому

    Bro code you're the best,I never understood anything but I've just watched this video you're the best,,easy explanation keep up

  • @NECISBISA
    @NECISBISA 2 роки тому +3

    Omg, you explained it very simply! It's really easy to understand. Thank you so much! I've always wanted to learn these.

  • @brettonrockwell
    @brettonrockwell 11 місяців тому

    wow this made me feel hopeful about learning this

  • @franklinsosamatias4775
    @franklinsosamatias4775 Місяць тому

    A golden video, thank you very much !!!! Very good explanation = +1 subscriber for your channel here

  • @swampus2016
    @swampus2016 Рік тому

    tutorial_rating = 10
    y = "the vid was good!"
    good_vid = True

  • @leninabreu8541
    @leninabreu8541 Рік тому +1

    el mejor explicando me gusta tu forma de explicar gracias

  • @daydarasensei12
    @daydarasensei12 2 роки тому +15

    THANK YOU SO MUCH!
    #INTEGER
    eyes=ears=2
    nose=mouth=1
    print(f"You've got {eyes} eyes and {ears} ears")
    print(f"You've got {mouth} mouth and {nose} nose")
    #FLOAT
    height=155.5
    weight=47.5
    print(f"You're only {height}cm tall!! so short!")
    print(f"{weight}kg?? what are you?? a FLY?? lol")
    #STRING
    planet="Earth"
    continent="Africa"
    country="Morocco"
    print(f"You live in planet: {planet}")
    print(f"You live in {planet}'s hottest continent: {continent}")
    print(f"You live in the north of {continent} in a country named: {country}")
    #BOOLEAN
    adult=True
    married=False
    has_children=False
    print(f"Are you an adult?: {adult}")
    print(f"Are you married?: {married}")
    print(f"Do you have children?: {has_children}")

  • @AmirLal-k2l
    @AmirLal-k2l Рік тому

    Excellent Teacher!

  • @generalhorror87
    @generalhorror87 Рік тому

    Omg Bro Code i wish i had u as a teacher cause u explain so deam good i love it

  • @dineshgautam7027
    @dineshgautam7027 2 роки тому

    You are a great person..... God bless you bro....

  • @lickguitars1276
    @lickguitars1276 Рік тому

    thanks you just made it clear for beginners to understand, i just subscribed, keep making this videos bro

  • @steev708
    @steev708 Рік тому +1

    At 11:30, why is not written as print("x") ? why no quote for x, y, and z

    • @RanaHassan-y7k
      @RanaHassan-y7k 4 місяці тому

      Because then It would be a string as something in quotes is treated as string ( 😂 it's year old comment I think you know it already)

  • @busyConquering
    @busyConquering Рік тому

    Integer
    theScore = 3
    Float
    weight = 77.65
    String
    teamName = Manchester_United
    Boolean
    offline = True

  • @lejeannethomas1535
    @lejeannethomas1535 Рік тому

    Thanks for the video! I learned a ton. Here's my project code.
    #Integer
    Flora = "1"
    Citrus = "2"
    Woodsy = "3"
    print(f"You like 1 fragrance")
    print(f"You like 2 fragrances")
    print(f"You like 3 fragrances")
    #Float
    Travel_Tin = "2.2"
    Everyday_Vessel = "7.5"
    Tealight = "2.4"
    print(f"Travel_Tin weighs 2.2 ounces of wax")
    print(f"Everyday_Vessel 7.5 ounces of wax")
    print(f"Tealight 2.4 ounces of wax")
    #String
    name = "Kay"
    State = "Georgia"

  • @SANJAYVENKAT-v8q
    @SANJAYVENKAT-v8q Рік тому

    Your the best bro
    Was really useful.

  • @WINDOWSUSER-q4s
    @WINDOWSUSER-q4s Рік тому

    NICELY DONE...❤

  • @donyg21
    @donyg21 2 роки тому +1

    I just stumbled on your video trying to learn Javascript, you are an awesome Tutor.

  • @haduncolo2842
    @haduncolo2842 2 роки тому +1

    YESSSS PYTHON AGAIN!!!

  • @i-yahya418
    @i-yahya418 Рік тому

    on behalf of all of us thanks a lot for every single info you share it with us

  • @bielclashfire
    @bielclashfire 6 місяців тому

    Thanks for your help!
    Appreciate, may God be with you.

  • @adinduadannah5883
    @adinduadannah5883 3 місяці тому

    Thank you
    I just joined you but I'm following up ❤❤

  • @i_am_gaming_gamer_game
    @i_am_gaming_gamer_game 2 роки тому +1

    congrats on 600k, you are what made me start with c++ although i still havent figured out how to get libcurl lol

  • @fornite370
    @fornite370 2 роки тому

    the goat has returned

  • @vinayaksingh524
    @vinayaksingh524 2 роки тому +1

    What happened to the SQL course bro? Have been really looking for to it

  • @zahraalemi1872
    @zahraalemi1872 11 місяців тому

    great

  • @ocireocire
    @ocireocire 2 роки тому +1

    Bro code always helping us!
    Yay!

  • @MSylvain
    @MSylvain Рік тому

    thanks bro that was clear enough

  • @HsuMonMonThant
    @HsuMonMonThant Рік тому

    Thank you so much for your efforts and explanation.

  • @youtubehodol3989
    @youtubehodol3989 2 роки тому

    Advance congratulations for coming 600k

  • @edwardnorwood6837
    @edwardnorwood6837 2 роки тому

    great tutorial

  • @HolyMolly2
    @HolyMolly2 2 роки тому

    Bagundhi anna nijamgane bagundhi😂

  • @IhebChargui-u6u
    @IhebChargui-u6u Рік тому

    Thank you so much Bro you're the Best 😁

  • @thestonedshaman
    @thestonedshaman 2 роки тому

    The King is back

  • @Jonathing
    @Jonathing 2 роки тому

    return of the king

  • @telugutechnews4374
    @telugutechnews4374 Рік тому

    Super sir from India

  • @FarizDarari
    @FarizDarari 3 місяці тому

    Thank you, Bro Teacher!

  • @hayati9600
    @hayati9600 2 роки тому

    woah thanks dude! my university just started to teach python this is gonna be very usefull!

  • @lucianomaquina8095
    @lucianomaquina8095 Рік тому

    Thank you 🙏 , u da best 🔥!

  • @FactosFax
    @FactosFax Рік тому

    gear = 4
    print(f"I changed to gear {gear}")
    weight = 112.5
    print(f"My current weight is {weight}")
    gender = Male
    print(f"I am a {gender}"
    raining = True
    print(f"Is it raining tomorrow?: {raining}")

  • @robinpage2730
    @robinpage2730 2 роки тому

    Oooohhhh, do Python's new match/case feature! Structural pattern matching!

  • @pacosmosisx8607
    @pacosmosisx8607 Рік тому

    quality = True
    if quality:
    print(f"Your videos are amazing!")

  • @zephyrgaming9798
    @zephyrgaming9798 2 роки тому +1

    Sir you are making python course again?

  • @zaid_khan12345
    @zaid_khan12345 2 роки тому

    WE LOVE YOU KEEP SERVING THE WORLD LIKE THIS BRO!!!!!♥️♥️♥️♥️

  • @taqimesbah8908
    @taqimesbah8908 2 роки тому

    Bro = "Best computer science teacher"
    Type (f"Bro is the {Bro} in the world")
    Result :
    Bro is the best computer science teacher in the world.

  • @paulandrew6188
    @paulandrew6188 5 місяців тому

    Integer:
    room_number = 101
    iPhone = 15
    Float:
    gas_fee = 0.05
    version = 4.7
    String:
    state = 'Washington'
    country = 'the US'
    Boolean:
    authorized = False
    correlate = True
    Day 1 of Learning. I really hope I can keep a streak on these videos 😪

  • @d.p.skoushik8930
    @d.p.skoushik8930 2 роки тому

    hey make a video on shellscripting too

  • @Philhoy
    @Philhoy 11 місяців тому

    merci beaucoup pour votre formation et partage de connaissances sur le sujet des bonnes nouvelles 25 recettes de Pizzas à emporter elle semble bien bonne à goûter et facile à faire. ca signifie que j'ai des chances de pas brûler les croûtes et d'avoir des meilleurs résultats gastronomiques à découvrir. thanks bro!

  • @cletusdeletus5890
    @cletusdeletus5890 2 роки тому

    Eyyyyyyyyy hes back

  • @sahib5820
    @sahib5820 2 роки тому

    Which ide do you use?

  • @XxAbdo
    @XxAbdo 2 роки тому

    are you making a new course for python ?

  • @Kira-ws8de
    @Kira-ws8de 2 роки тому

    Nice

  • @DiscoDave.
    @DiscoDave. Рік тому

    laps = 3
    speed = 126.2
    boost = "Boost engaged"
    yolo_mode = True

  • @Dreamon-np5tb
    @Dreamon-np5tb 8 місяців тому

    Thanks Bro

  • @glenmorris3726
    @glenmorris3726 8 місяців тому

    What IDE are you using?

  • @reinkdesigns
    @reinkdesigns 2 роки тому +2

    Hey Mr. Bro code. Do you think you can do a series on RegEx? And C# in unity?

  • @abi-dw1wm
    @abi-dw1wm Рік тому

    Hello bro, how did you make the run console green

  • @jlcapulong7050
    @jlcapulong7050 Місяць тому

    Love you bro!