Math & Variables in Python - Beginner Python Tutorial #1

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

КОМЕНТАРІ • 77

  • @KeithGalli
    @KeithGalli  6 років тому +32

    Video Outline!
    1:41 - Tutorial Start
    2:44 - Basic Math in Python
    5:02 - What are variables?
    8:37 - Naming variables
    10:53 - Complex Math in Python
    16:41 - Video Overview/Conclusion
    Feel free to watch on 1.25x or 1.5x speed to learn quicker
    If you have any questions about this video or anything else, please leave a comment!
    Second tutorial will be posted by 9:00pm on Feb 22!
    Subscribe to not miss anything.

  • @spiteofartemis5829
    @spiteofartemis5829 4 роки тому +20

    why is this entertaining. this is literally just math but weird and somehow you made it entertaining.

  • @digao6796531
    @digao6796531 3 роки тому +7

    I'm a statistician and love the simplicity of your tutorials! Programming for me is very useful and the more simple, the more the fun! Thank you so much and hugs from Brazil!

  • @Mellowdy030
    @Mellowdy030 4 роки тому +8

    Cheat Sheet
    (0 = your number)
    (A = your word)
    (A/0 = your word or number)
    -----------------------------------------------
    Math
    Addiction: 0+0
    Subtraction: 0-0
    Division: 0/0
    Multiplication:0*0
    Power: 0**0
    Floor Division: 0 // 0
    Modular Division: 0 % 0
    -----------------------------------------------
    Values
    Printing: Print=("0/A")/Print=(0/A)
    Bulien value: A/0 = True/False
    String value: A = "A/0"
    integer value: A/0 = A/0
    Decimal value: A = 0.0
    ------------------------------------------------
    Naming
    abc
    ABC
    _
    123 (can't start with numbers)

  • @TheSuccessfulLeader
    @TheSuccessfulLeader 5 років тому +7

    "Yes, Keith: I am learning a lot and I am feeling very comfortable with the way you deliver this Python information"; as a beginner--please keep up the good work!

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

    This is incredible :D
    I’ve only ever tried to learn python by reading instructions, but I had NO idea how much easier it would be to learn from watching a video. :)

  • @vectork3
    @vectork3 5 років тому +9

    Just getting into python. Subscribed!

  • @ahmedtawfiq3625
    @ahmedtawfiq3625 3 роки тому

    You have come a long way mate 👏🏼👏🏼

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

    Nice tutorial and simple presentation. Love from India.

  • @gamingxgaming9719
    @gamingxgaming9719 3 роки тому +1

    Dude love your videos ... pls keep uploading

  • @dedsecgenius9316
    @dedsecgenius9316 4 роки тому

    this is by far the best tutorial ever

  • @robertosteen6621
    @robertosteen6621 3 роки тому

    dude....thank you so much! Im looking forward to diving in!

  • @egasuas541
    @egasuas541 5 років тому +22

    Did you ever post the maths cheat sheet?

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

    Bro it took my teacher 12 lessons to teach this tnx for your help

  • @roryengland1996
    @roryengland1996 3 роки тому

    Hey Keith, great job on this tutorial series, finding it really useful. I enjoy pausing your videos and trying to build a small project as we go to develop my understanding. Keep it up!

  • @eagle11588
    @eagle11588 5 років тому +2

    7:00 "Yeah, yeah it is, I think Python is super fuck" xD

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

    Great stuff Keith

  • @render_rr
    @render_rr 4 роки тому

    this video was suuuppperr helpful youve gained another subscriber

  • @jagathajithkumar8607
    @jagathajithkumar8607 4 роки тому

    this is very useful unlike c++ which is complicated as hell

  • @santinosartoris
    @santinosartoris 3 роки тому

    you made it so simple. amazing video

  • @willpal2390
    @willpal2390 5 років тому

    Great video!! Keep up the amazing work

  • @boulibouli4770
    @boulibouli4770 4 роки тому

    Great video man!

  • @ilan_kayesar
    @ilan_kayesar 5 років тому +4

    this is super helpful!

  • @ralphmacfadden7262
    @ralphmacfadden7262 4 роки тому

    Thanks for the video.
    “Name” is not concise, it is ambiguous. It could mean given name or given + family name, for examples, and that is already assuming that we are talking about people - people in certain cultures. In others, it could refer to given name + paternal family + maternal family. If we always use concise variable names, we won’t have to change them later.

  • @SuperPhysicsgeek
    @SuperPhysicsgeek 6 років тому

    thanks for your help , student from singapore

  • @zytrox_yt4623
    @zytrox_yt4623 4 роки тому

    I like your python tutorials

  • @justshan2413
    @justshan2413 4 роки тому

    You've been a huge help to me
    Thank you and keep up the good work! ;)
    Peace!

  • @tobiesmith3203
    @tobiesmith3203 5 років тому

    Good Job! I found this to be very helpful!

  • @ahmedtawfiq3625
    @ahmedtawfiq3625 3 роки тому

    Thanks for the great work !

  • @Zahra-id9ob
    @Zahra-id9ob 2 роки тому

    Very helpful thank you!

  • @ranjeetkarnawal6189
    @ranjeetkarnawal6189 4 роки тому

    Just did subscription. Thanks for this video very helpful for begenier like me..

  • @troopa8133
    @troopa8133 5 років тому

    youve earned a sub, great video!

  • @aryansakaria007
    @aryansakaria007 4 роки тому

    awesome loved it

  • @ianhudson1438
    @ianhudson1438 5 років тому

    Bro your vids are amazing

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

    thanks you very much bro

  • @tahrin.choudhury
    @tahrin.choudhury 5 років тому

    Do you have a video about Dictionaries?

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

    Thanks for larger fonts.

  • @oskarbochineck4096
    @oskarbochineck4096 6 років тому +7

    Where's the cheat sheet?

  • @GanseyBMungu
    @GanseyBMungu 4 роки тому

    Which editor is this you are using please?

  • @electronzx1528
    @electronzx1528 5 років тому +1

    i am trying to use build and it is not working

  • @mimozatosku6566
    @mimozatosku6566 3 роки тому

    can i assign a randomly generated number as a variable in a function?

  • @jessesbrega751
    @jessesbrega751 5 років тому +1

    Will the cheat sheet be released soon?

    • @IamDanish99
      @IamDanish99 5 років тому

      I am also waiting for it.

  • @itrguldag6745
    @itrguldag6745 4 роки тому

    Is there a way to find sin or cos of x without import math ??? 🙄

  • @יהליחנבצ
    @יהליחנבצ 3 роки тому

    King

  • @laurelwalder4500
    @laurelwalder4500 6 років тому +1

    Yes I’m ms. Turtles

  • @alejandroli83
    @alejandroli83 6 років тому

    Thanks!

  • @diegomoreno5911
    @diegomoreno5911 5 років тому

    How do you make the text bigger ?
    Cool video

    • @martinopranjic8242
      @martinopranjic8242 5 років тому +1

      Hold ctrl and press + or - or scroll your wheel on mouse.

  • @cesargomez2860
    @cesargomez2860 5 років тому

    what mic do you use for your videos?

  • @alexholloway9829
    @alexholloway9829 3 роки тому

    You need to download python. Type Python.org on browser. You need Pycharm too. Type Jetbrains.com/Pycharm

  • @saidahmed2544
    @saidahmed2544 4 роки тому

    Thank u sir

  • @visia293
    @visia293 4 роки тому

    Love the video, however the volume is really low

  • @ahmedzahra8873
    @ahmedzahra8873 4 роки тому

    Thx man

  • @lewismanny
    @lewismanny 4 роки тому

    hi please can you answer a quick question on pthon its very important? :)

    • @KeithGalli
      @KeithGalli  4 роки тому

      Yep I can try to! Let me know what the question is

    • @lewismanny
      @lewismanny 4 роки тому

      Keith Galli how do you use int() to programs with numbers

  • @gershonsatvik1585
    @gershonsatvik1585 4 роки тому

    %=remainder in division

  • @mr.cheeseweenie6947
    @mr.cheeseweenie6947 4 роки тому

    would luv to see ur python

  • @martinezarielb.jr.2068
    @martinezarielb.jr.2068 4 роки тому

    where's the math cheat sheet?

  • @AkinCzar
    @AkinCzar 3 роки тому

    I got so exited when it printed my age

  • @wongeggyork8789
    @wongeggyork8789 3 роки тому

    Whybdoes the answer not show when i press control b

  • @Mr152008
    @Mr152008 3 роки тому

    Can someone explain 16:21
    print(math.sin(math.pi))
    I tried it in my own terminal & I also got 1.2246467991473532e-16.

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

      Math rules say sin(pi)=0 , but "pi" is infinit long, however "pi" in python is long, but not infinit and therfor not the corect "pi"(but pretty close). Thats why you don't get 0, but pretty close... ; )

  • @mingsamrat4765
    @mingsamrat4765 5 років тому

    #footballwinds liked

  • @nitrous000
    @nitrous000 5 років тому +1

    lol you look so depressed

  • @DreaminBig
    @DreaminBig 4 роки тому

    LMAO im new to python. I was trying to do 2+4 but pycharm wouldn't give me the answer. It works after doing print (2+4) however,the book did not specify the print part. It simply said 2+4 lol