[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Python Programming Tutorial – 2 – Numbers
by
Tags:
Comments
46 responses to “Python Programming Tutorial – 2 – Numbers”
-
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 🙂
-
Nice Videos. Very useful. Could you please suggest me the videos like python for data science
-
i am using python 27 . I used 5 / 2 and 5 // 2 both gives same result 2 .
-
Scott got a job after learning at TreeHouse for 6 weeks!!!!
-
Fonts unreadable too samle
-
please tell that how can one take input from user
-
am i only one who cant see it?
-
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 -
when I wrote 18\4 it gave synatxerror
-
I thought bacon over tuna gives out a true boolean 'cause it's true D:
-
Soo, basically Python is a calculator?
-
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 "//"
-
thax, your video is really useful 🙂
-
power is two **, interesting
-
(BODMAS) brackets, orders,division, multiplication, addition and subtraction
-
Odd that // rounds DOWN rather than up, since traditional mathematical convention is to round up. Any particular reason?
-
when I wrote 5 * *5 then answer was 3125 coming ….Instead of 125….Plz explain???
-
another good one.
-
why bucky sound is different?
-
I think this dude needs tp get himself a sandwich
-
I tried some other operations. I got 5<<3 = 40. what does "<<" means? Thank you for the video
-
can someone teach me how to make a program that can bruteforce twitter or facebook
Thanks -
zoom the fucking screen next time
-
What about Tuna divided by Bread and cheese?
-
I get tired of holding the magnifying glass trying to see what he is typing.
-
Now I know how to divide tunambers
-
I want to learn how to code Discord Bots, does this show me how?
-
which one you like the most guys? I prefer bacon
-
great now i'm hungry
-
hey my idle rounds off the answer even if i give a single / what should i do
-
I used first 18 // 5 and after that I used 18 /5 but both are giving same result to me…
-
python is very straight forward… 😉
-
Easy to understand, thanks!
PD: You made me hungry calling those variables "tuna" and "bacon" hahahaha -
type in 6**6**6 and see the result
-
why is it always bucky or tuna?
-
You sai "pretty much" a lot.
-
I hope you've made a lot of money from this. I am grateful for your gracious help!
-
thas sooooooo cooooooool thnak you . I watched so many Tutorials but this one is the best one .
-
This is so similar to matlab
-
Font is very small.
-
wtf about letting me learn to code treehouse i has 999 minutes of watching inspirational learning to code piiss offf omgg im trigerred .
-
thanks for the tut guys
-
Your fonts seems too small!
-
hmm, so the double forward slashes remove the decimals? because 4.5 can be rounded to 5
-
mark
Leave a Reply