Python Programming Tutorial – 2 – Numbers

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

46 responses to “Python Programming Tutorial – 2 – Numbers”

  1. Nadim Karim Avatar

    mentor you are really awesome. how easy it is. just tell me one thing, I never understand, how 18//4 is equal to 4 and 18%4= 2. I am waiting for your reply. Thanks again 🙂

  2. Dilshan Sk Avatar

    Nice Videos. Very useful. Could you please suggest me the videos like python for data science

  3. Roohi Shah Avatar

    i am using python 27 . I used 5 / 2 and 5 // 2 both gives same result 2 .

  4. G D Avatar

    Scott got a job after learning at TreeHouse for 6 weeks!!!!

  5. ajay sharma Avatar

    Fonts unreadable too samle

  6. Ravinder Yadav Avatar

    please tell that how can one take input from user

  7. Jake Ambrose Avatar

    am i only one who cant see it?

  8. Walking Taco15 Avatar

    Hey bucky! I'm way ahead in the series, but just decided to post some script I figured out. (That'll be at the end) So, python is by default a calculator, right? I was making a calculator file, but was over-complicating it. I thought I had to put in every single possible number to make a function, and every single possible operation to make a function. (In case you're wondering, that type of calculator would look like this:

    def Multipulcation_Calculator(Number1, Number2):
    ans = Number1 * Number2
    print("Thank you for using MultipulcationCalculator!")
    print("Your answer is ", ans)

    )
    but then I thought "Hey, isn't python a calculator by itself? Which means the script is already configured?" What I mean by that is that if you go into python 3.4.7, and you type in "2+2", for example, it'll say 4. PyCharm is just a fancy extension of Python, so it still uses its basic scripts. So I thought: "Hey! Why don't I utilize that into my calculator? I can make just one calculator instead of a dozen! And so I wrote this script:

    #PythonCalculator, Created by sipher. (Fluff, s8, _s8, all the other aliases.)
    #v 1.0
    def PythonCalculator(Expression):
    answer = Expression
    print('Thank you for using PythonCalculator!')
    print('Your answer is ', answer)
    return answer

  9. Doha Hashish Avatar

    when I wrote 18\4 it gave synatxerror

  10. IMaxwellI Avatar

    I thought bacon over tuna gives out a true boolean 'cause it's true D:

  11. Christina Zamora Avatar

    Soo, basically Python is a calculator?

  12. TomTom Gao Avatar

    Very easy to understand tutorial. Should be super easy for people who have used electronic calculators, but also include some nice useful details including the use of "//"

  13. Dody Abdullah Attamimi Avatar

    thax, your video is really useful 🙂

  14. chao sui Avatar

    power is two **, interesting

  15. Bilal Shamim Avatar

    (BODMAS) brackets, orders,division, multiplication, addition and subtraction

  16. Ross McLean Avatar

    Odd that // rounds DOWN rather than up, since traditional mathematical convention is to round up. Any particular reason?

  17. ayush trivedi Avatar

    when I wrote 5 * *5 then answer was 3125 coming ….Instead of 125….Plz explain???

  18. Crius . D . Luffy Avatar

    why bucky sound is different?

  19. Rob Culligan Avatar

    I think this dude needs tp get himself a sandwich

  20. Ravi Teja Vemuri Avatar

    I tried some other operations. I got 5<<3 = 40. what does "<<" means? Thank you for the video

  21. failgecko9800 Avatar

    can someone teach me how to make a program that can bruteforce twitter or facebook
    Thanks

  22. ADULT CAT Avatar

    zoom the fucking screen next time

  23. Jason Skywalker Avatar

    What about Tuna divided by Bread and cheese?

  24. Kenneth Halstad Avatar

    I get tired of holding the magnifying glass trying to see what he is typing.

  25. Walter Ventura Avatar

    Now I know how to divide tunambers

  26. Poke Avatar

    I want to learn how to code Discord Bots, does this show me how?

  27. neo stiv Avatar

    which one you like the most guys? I prefer bacon

  28. Tim Geddes Avatar

    great now i'm hungry

  29. rahul bathini Avatar

    hey my idle rounds off the answer even if i give a single / what should i do

  30. Shubham Pardhi Avatar

    I used first 18 // 5 and after that I used 18 /5 but both are giving same result to me…

  31. omkar kulkarni Avatar

    python is very straight forward… 😉

  32. Rafa Navarro Soto Avatar

    Easy to understand, thanks!
    PD: You made me hungry calling those variables "tuna" and "bacon" hahahaha

  33. Mathemagician 4 Avatar

    type in 6**6**6 and see the result

  34. Seaver Schultz Avatar

    why is it always bucky or tuna?

  35. PapíDimmi Avatar

    You sai "pretty much" a lot.

  36. seinfan9 Avatar

    I hope you've made a lot of money from this. I am grateful for your gracious help!

  37. Quick Solution Avatar

    thas sooooooo cooooooool thnak you . I watched so many Tutorials but this one is the best one .

  38. sxyzjym Avatar

    This is so similar to matlab

  39. Gaurav Arya Avatar

    Font is very small.

  40. san kitty Avatar

    wtf about letting me learn to code treehouse i has 999 minutes of watching inspirational learning to code piiss offf omgg im trigerred .

  41. Adil Saber Avatar

    thanks for the tut guys

  42. Suraj Thapa Avatar

    Your fonts seems too small!

  43. SoftProFitAirman Avatar

    hmm, so the double forward slashes remove the decimals? because 4.5 can be rounded to 5

Leave a Reply

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