Python Tutorial for Beginners 3: Integers and Floats – Working with Numeric Data



In this Python Beginner Tutorial, we will begin learning about integers and floats. Integers and Floats allow us to work with numeric data in Python. We will be learning how to perform basic arithmetic, as well as how to compare numeric values. Let’s get started.

The code from this video can be found at:

Watch the full Python Beginner Series here:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet – 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet – 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet – MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey’s Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:
My Website –
My Second Channel –
Facebook –
Twitter –
Instagram –

#Python

Nguồn: https://benjaminjcohen.com/

Xem thêm bài viết khác: https://benjaminjcohen.com/cong-nghe/

25 Comments

  1. I've had a roadblock with Python these past few months and this video series has SAVED ME. thank you so much Corey! You're awesome

  2. Hey everyone. Ive decided to start coding during quarantine with my friend. I was recommended Python cuz its easier for beginners. So far weve been doing well and so far weve done variables, basic funtions, strings, arithmetic functions and if statements. My friend made a cool calculator using if statements so you can put different symbols into the calculator. I decided to add a function that could change the type of the outcome, either a float or an int. However, ITS NOT WORKING. Pls someone give me an idea of how to make an if statement that changes the calculation from float or int I WOULD GREALTY APPRECIATE IT.

  3. Thanks a lot Schafer, your videos are highly useful. You're a great teacher.

  4. Hey I have a question about casting ints. Why not just remove the apostrophes? I don't quite get the reasoning. Other than that, awesome series! Really easy to follow.

  5. Awesome video as usual .. Thanks 🙂

  6. Corey – what a fantastic video series. An easy to follow tone of voice, the right information, the right depth, the right speed of delivery. Thank you so much!!

  7. Hi good tutorials, just a short remark on modulus, in my country they could also use it for banknote numbers. they were multiples of 9 therefore their mod 9 would always be zero (one of the many ways to b tackle counter fitters
    kind regards Hans

  8. I am beyond happy to have found your video tutorials!!! Easy and effective! Loving it! Thanks for your work!

  9. Add enough parentheses to the expression, 3+4/2-7 so that the operation are evaluated in the following order,+,-,/.

  10. great stuff just that the volume is a little low.

  11. print(round(3.75 , 1) equals to 3.8;
    but why
    print(round(3.65 , 1) equals to 3.6 instead of 3.7?

    In excel, round(3.65, 1) will produce 3.7

  12. At 11:11 Corey says "Lists, sets, and tuples.." and pronounces "tuples" like "too pulls", but, the actual pronunciation is "tup pulls".

  13. so if you say print(type(num)) then it returns the datatype but if you say print(num.type) then it doesn't work. What's the difference here?

  14. Is there any way to take input without using "repl"

  15. Hi Corey, the f function doesn't seem to be working on Python 3.8.1

  16. Hey! If anyone can help me 🙂
    I'm working with Python 3.8 version but if I print (3 / 2) the result is 1 and as the video says it should recognize the decimal when it runs it. Do anyone knows what it could be happening or maybe I haven't turned on a specific function? I'm using Atom by the way.
    Cheers guys!!

  17. Hey,
    just wanted to say thank you! I'm trying to learn python during this crazy time and between you and my uncle (who is a coder) I'm slowly figuring this out.
    God Bless and Stay Safe!

  18. One thing that could have been included in this video is how to convert floating point values to standard numbers with decimals for use with monetary values. Otherwise, very informative. Also, I'm commenting on these videos as I go, so if the aforementioned technique is included in a different video, please disregard this comment.
    Once again, these videos are amazingly helpful. Thank you for doing what you do!

  19. I really dont understand that how could anymne this video series. the best python tutorial series in the youtube. i have searched a lot of video series in python that coud meet my expectation and at last found the best one in this channel. Thank you very much for this video series. Probably i will be a good python developer in my future if i truly follow this video series.

  20. Finally a guy in English.

  21. I'm blown away how much easier this is to learn python this way. Hats off to you!

  22. Could anyone tell me whats the IDE he's using ?

  23. Hi Corey great python tutorial that is easy to understand. I have a question, what are the scenario where your integer is a string

  24. I cannot the beginning part of this video to work. I end up with very long error

Leave a Reply

Your email address will not be published. Required fields are marked *