Python variables for beginners ❎

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

КОМЕНТАРІ • 205

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

    # 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 5 місяців тому

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

    • @1Mohammed0
      @1Mohammed0 4 місяці тому +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 роки тому +65

    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 Рік тому +15

    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!!!

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

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

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

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

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

    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 4 місяці тому

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

  • @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!!

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

    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.

  • @Nezuko-chan-89j
    @Nezuko-chan-89j 10 місяців тому +2

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

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

    The legend is back after shorts...

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

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

  • @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

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

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

  • @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

  • @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.

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

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

  • @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.

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

    0:17 Taking notes.

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

    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❤️❤️

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

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

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

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

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

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

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

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

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

    Simple and concise! Great video.

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

    Thank you for your effort, seems very clear and straightforward

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

    F strings look cool

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

    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"

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

    best free programming teacher ever

  • @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

  • @Thaspaceguy
    @Thaspaceguy 7 місяців тому +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?")

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

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

  • @daydarasensei12
    @daydarasensei12 Рік тому +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}")

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

    It’s my first time understanding coding lesson

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

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

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

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

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

    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} ")

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

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

  • @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

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

    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

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

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

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

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

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

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

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

    el mejor explicando me gusta tu forma de explicar gracias

  • @user-ace96plays
    @user-ace96plays 11 місяців тому +1

    NICELY DONE BRO...❤

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

    wow this made me feel hopeful about learning this

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

    YESSSS PYTHON AGAIN!!!

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

    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!

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

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

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

    succint and direct thanks Bro code.

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

    Love your work and detailed explanations, PLEASE do a SQL video. Thanks alot

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

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

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

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

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

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

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

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

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

    Thank you so much for your efforts and explanation.

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

    Watched it. Liked it.

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

    Excellent Teacher!

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

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

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

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

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

    good continue

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

    Bro code always helping us!
    Yay!

  • @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}")

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

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

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

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

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

    Your the best bro
    Was really useful.

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

    Thank you, Bro Teacher!

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

    💥very informative‼️

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

    Hi Bro and others...I'm really finding your videos useful...I'm curious though... Why are "f strings more popular?" They seem more cryptic to me.

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

    return of the king

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

    the goat has returned

  • @WINDOWSUSER-q4s
    @WINDOWSUSER-q4s 11 місяців тому

    NICELY DONE...❤

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

    thanks bro that was clear enough

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

    👍

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

    Thank you so much Bro you're the Best 😁

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

    Super sir from India

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

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

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

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

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

    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!

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

    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 😪

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

    great tutorial

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

    Advance congratulations for coming 600k

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

    great

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

    The King is back

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

    Thank you 🙏 , u da best 🔥!

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

    Bagundhi anna nijamgane bagundhi😂

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

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

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

    "f" makes it so much easier

  • @user-ace96plays
    @user-ace96plays 5 місяців тому +1

    2/106 ❤

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

    Hello bro. Please do a series about integrating MySQL and python

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

    percent, margin, value, is_fact = 100, 0.01, "cool", True
    print(f"You are {percent}% {value}, the margin of error is {margin}. This statement is {is_fact}")

  • @orkobhattacharjee5555
    @orkobhattacharjee5555 7 місяців тому

    hey bro ! whats up? hope u r doing well! ur vdos r really awesome . but why dont u add some practice problems ? it would be more helpful..... still..... ur contents are really very good. thanks for providing free courses.

  • @Coolguy-Anime
    @Coolguy-Anime 3 місяці тому

    I and many others love you Tysm you truly are attractive

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

    God bless you, bro

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

    video_liked = True
    commented_variables = 1
    time_taken = 5 #seconds
    comment = "really fun way to learn

  • @d.p.skoushik8930
    @d.p.skoushik8930 Рік тому

    hey make a video on shellscripting too

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

    Thanks Bro

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

    Eyyyyyyyyy hes back

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

    String
    Name = "juicy"
    Boolean
    Item = false
    Integer
    Age = 39

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

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