Python Data Types for Beginners | Python tutorial

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

КОМЕНТАРІ • 88

  • @rickythelarge5369
    @rickythelarge5369 Рік тому +10

    Dave, I am learning front-end with React through an internship at my company. Every day, I watch one of your videos at home to practice and learn about other languages. I am truly grateful because I feel that your videos are the best ones available for free online. You are number one. Sending a big hug from Italy.

  • @BZfactos
    @BZfactos 2 місяці тому +2

    crazy how this playlist are more usefull than my entire semesters from college year ago.. i'm in the journey to mastering python, wish me luck guys!

    • @BBH_army123
      @BBH_army123 Місяць тому +1

      good luck man i am 14 and i am trying to learn python

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

    Hi, just wanted to say thanks for making this! I'm learning python so I can eventually work with it in the GIS field. I am glad your basics have such great explanations!

  • @photonspawn212
    @photonspawn212 3 місяці тому +1

    Most Excellent tutorials! This is so much easier to learn when you show Python examples in VS while teaching how to navigate Visual Studio during the process. Thank you!

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

    21:31 What happens if the rjust and ljust fill is longer than the width of your terminal?
    What happens if you leave out the `4` parameter of rjust. In this case, that 4 causes `$1` to fill a length of 4 chars, but won't it fill the remaining space in the terminal width anyway?
    Edit: So i think the 4 means to place the text directly after the preceding text (in this case, "Coffee.........."), rather than right-justify on the entire terminal line. I get it now.

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

    just to say thank you very much i am learning python all thanks to your tutorials. Keep up the good work!

  • @verymessy
    @verymessy 7 місяців тому +3

    Dave... I hate math, and you somehow just made it manageable for me. THANK YOU!!!!

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

    Спасибо!

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

    Thank you very much. As someone who always wanted to start learning programming, but was too lazy to start your tutorials have helped me immensly!

    • @AnoushehKhan
      @AnoushehKhan 2 місяці тому +1

      well, I watched the video I really didnt get anything as a beginner, he should describe everything which he is not doing, I do not understand. like why is is print(type(first)) why say type when it is already going to type? I do not reccomend to watch his videos but some of them are very nicely explained.

  • @staringintotheabyss1769
    @staringintotheabyss1769 Рік тому +5

    Hey Dave,I am so thankful to you for creating such content for free.
    Much love from India.
    Also I have a question,your teaching style is Fantastic no doubt,so I wanted to learn react js from you, but your tutorials are a year old and with the introduction of newer versions of react,would it be wise to follow them as I like your way of teaching and would love to start my journey in react from your course.
    Once again,thanks a lot for your efforts

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

      Thank you! The React course for beginners teaches fundamentals and everything still applies. When you get to the React Router part, look in the description for the link that updates the React Router info. That is the only part to note for changes.

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

    Its pretty cool that I alrady knew about indexes starting at 0 due to Blender's geometry nodes! Looking forward to being able to get more of of Blender after learning more about python! Really appreciate these vids, Dave!

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

    I like your videos and learn a lot about python from them. Thank you so much!

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

    on 2:49 at line 8, how to merge the '==' to looks like one long '='? is there an extension for it?

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

      You can enable font ligatures in your VS Code settings file. I disabled them for future tutorials. I show how here: ua-cam.com/users/shortsf1HVI5slxms

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

    Great course Dave, appreciate ur efforet.

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

    This is such a nice course Dave. I have started learning Python for my research work and this is by far the best suited for someone like me with a scientific mind but time restriction. Thanks very much. Dr. Pranav Seth

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

    good effort Dave.....your teaching style make me easy to understand your content. Honestly, you are really a good teacher for me.....👍👍👍👍

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

    It's him again..Thank you so much Dave ❤❤

  • @seanearnest
    @seanearnest 28 днів тому

    33:55 My 'import math' statement does not get moved to the top of my code as shown in the video. Any ideas why this is not happening? Please and thank you!

    • @IMakeHistory2
      @IMakeHistory2 23 дні тому

      same issue

    • @PierreBrassau
      @PierreBrassau 8 днів тому

      prolly because newer vesion of VS Code has changed alot he is using older version, same happened with the formatter remember ?? in couple of videos ago?

  • @esraaabdellatif2130
    @esraaabdellatif2130 3 дні тому

    Awesome, Thanks ❤

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

    Hi! when I try to print the type of the variable, I get all the time invalid syntax message. No spelling issues, no missing parenthesis. I noticed that the type function doesn't turn red as in your example. I installed all extensions. What can it be? My Python version is 3.9.13

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

    27:21 Aren't these equivalent?
    x = False
    x = bool(False)

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

    Hi Dave! I'm loving this tutorial. I came across a problem at 9:05. I cant seem to get the triple quotes to autocomplete. I can do it for the single quotes but when I move out of the single and try to add another it does not autocomplete. Do you have any suggestions?

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

      Not sure why you are not getting auto-completion in VS Code. You might check the setting mentioned in this Stackoverflow answer: stackoverflow.com/questions/45808557/autoclose-single-and-double-quotes-vscode

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

      @@DaveGrayTeachesCode thanks for the reply. I did check these settings, i also thought it was some plugins but nothing seems to fix this. Its fine its just that i would like to know why i will keep at it. Thanks again

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

    33:13 Which extension?

  • @JosephWright-ys9pv
    @JosephWright-ys9pv 10 місяців тому +1

    These are exceptionally made videos and i really cannot thank you enough!

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

    nice Dave, can you please guide me how I can set font as did in your vs code ?

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

    Wow, you are amazing Dave. Thank you so much

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

    Fantastic tutes. 7:49 Why doesn't 1980 have quotes around it?

  • @rohitsingh-xj1ey
    @rohitsingh-xj1ey Рік тому

    Thank you soo much soo grateful for all the best content you are providing

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

    Can I use code assistants to write codes?

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

    thanks dave

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

    Thanks for another great video Dave, one day when I actually start to make money with code, I will use that buy me a coffee link!

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

    Hey Dave,
    when I hit CTRL + D and select "first" it changes ALL firsts to pizza and not just the 3 on the bottom. Is there any way to not make it select the firsts in #literal assignment?
    btw, great videos! Really helps at learning ;)

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

      nevvermind, I just found out, that it selects all, if you HOLD ctrl + d :D

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

    Please at the end, put all of these Video tutorials into the one. (Attach them all in one video) .
    Like you did for HTML,CSS,JavaScript, ......
    Thanks
    Best regards

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

    How do I get the same python syntax color theme in VSCode?

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

    Thanks for another great video!

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

    30:06 Interesting that .real and .imag are properties, not functions. I guess the difference is that functions modify something, properties just tell you something about the thing without modifying it.
    It seems that .real returns the real PART of the variable, and .imag returns the imaginary PART.

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

    Dave. I want to ask that whenever you post a new Python video , do you delete the previous files- like hello.py

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

      You can if you want to. They are all just examples for each lesson right now.

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

    type(pizza)==str the output i got is plz explain y

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

      because the anser is False, and false is boolean

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

    Highlight "First", then "Control and D", then type "Pizza"... Issue is, it also changes all the words "First"' on the file. How can I fix that?

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

      Ctrl+D should on select the next instance of the word and not all instances. You can press Alt+Click to deselect any instance you want.

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

      @@DaveGrayTeachesCode Thank you for your speedy response, and for the solution to the issue

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

    Sir,
    when i type ....
    import math
    don't move to the top in my vscode.

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

      Did you install the Python extension I discuss in the first lesson of this series? I mention it when I discuss the import moving to the top. VS Code needs to know how to format the Python file.

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

      Alright Sir

    • @HEATEDPLA1NS
      @HEATEDPLA1NS 10 місяців тому +2

      @@DaveGrayTeachesCode I did but it still didn't go up. my version is 3.12.1. any idea how to fix that?

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

      @@HEATEDPLA1NS same issue here, did you figure out how to solve this?

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

      @@Dan_Utt nah I didnt sry

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

    I realized that I've been using single quotes instead of double quotes all along to call strings and it hasnt made a difference. is it 'ok' to go on using 'single quotes' or is this a bad habit that will come back to bite me later

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

      no idea, but I wont risk it

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

    Thanks

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

    and it was going so well...

  • @GabrielMartinez-ez9ue
    @GabrielMartinez-ez9ue Рік тому

    Hi Dave, Just for curiosity... weird that you haven't taught Ruby on Rails. For me its like the best Framework out there. Python brings you to django, but if you've used rails -- you'd know its not even remotely the same.

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

      Maybe one day. There are so many languages and more. My favorites are JS and Python.

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

    7:55 You said you have to cast it as a string to concat in a sentence, but you didn't cast it. You didn't write
    stmt = 'i like ' + str(decade)
    you wrote
    stmt = 'i like ' + decade
    i see now you meant you had to previously cast it, as you did. But it was confusing for a minute!

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

    Ctrl + / is not working

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

    Please make git tutorial continuation

  • @1conscience0dimension
    @1conscience0dimension Рік тому

    10:37 ahaha the js reflex `...`

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

    just goes too fast but videos are great

  • @1conscience0dimension
    @1conscience0dimension Рік тому

    oh, first point I can erase my previous comment about creating new file ;)

  • @kalinkakylab7276
    @kalinkakylab7276 16 днів тому

    god