For the meaning of absolute numbers (for those of us with a poor maths education): An absolute number is what it would be if we disregard it's sign, -3 is 3, 3 is 3 OR how far away it is from zero, -3 is the same distance from 0 and 3 so they both have the same absolute value.. Look on Wikipedia, brilliant explanation.
Wow i had bought a python book for kids and u just taught this better. How can a person thats not even being paid to do this make it easier to learn how to program than someone who is. I don't know, but keep make these videos!
@LmfaoReviews thats true i downloaded a book to learn but i didin't understand a thing. i thought the video tutorial is more good to learn those programing languaches
@Xoneize Stuff like python or Ruby is recommended if your 13/14... wish I'd have known that when I was 14, ended up learning VB.NET instead. I regret that decision
@StarsHero8 Why would you need to remove them? If you want the variable to do something else just assign something else. If you dont want that variable just don't use it. Simple as that, unless I'm wrong.
I need some help! I know how to import but once I import I want to see the different functions in the module. I know this is dir(math) for example, but then how do I see a description of what each function in the module does? I know there is a way, I have done it before but I am not remembering how.
@atulkakrana if you use pyscripter it will help you correct it for the lates version. in other words it will suggest what it thinks you mean for the current version. You can also run pyscripter under various versions up to I think 3.1
I'm going to start learning AP Programming in a few days, and i picked Python as my language, so for a head start i started learning before i go to class. Class begins in Tuesday, wish me luck. :D
This videos are really easy to understand by the way, i hope my class is like this. :P
Thankyou for these tutorials they have helped me becuase i have always wanted to be able to program in a type of languge such as python and you have helped keep making the videos thumbs up if you aggree
how do you know all these like abbreviations? like how do you do that box, cuz i wanna learn more than just sqrt and floor :P haha but i love your tutorials man, hella easy to understand :)
@pandelis14 abs stands for absolute (value) and it represents a number's distance from zero on x axis. To do it quickly just remove th minus symbol if it has one. If not, the absolute of a number is itself
hey bro, i love this tutorial about functions and all, but i have one more question. At one point in the tut you spawned a whole list of functions. How do you get that?
@xyzdorky66 I have to say I love C after all I got started programming on Unix, but C++ has the most awkward implementation of Object Oriented Programming ever, XP
"something like absolute value would be really difficult to program if you didnt have a function"
really....
if i<0: i=i*-1
xcvsdxvsx 1 hour ago
great teacher. I love these videos.
soho2014 3 days ago in playlist More videos from thenewboston
You really do a fantastic job on these tutorials! You explain, demonstrate then explain each part once more. Now that's a tutor ^.^
xRockDaFunkx 4 days ago
Am really appreciating these tutorials.
laidman2007 1 week ago
FIRST! :P
Gdslayer7 2 weeks ago 4
@Gdslayer7 That..... wasn't even remotely close to being first. you were over three years late, bro.
FornicateWithRaptors 1 week ago
These are fantastic, thanks!
jefsut 2 weeks ago
my girl sqrt all the time. i love it.!!!!!!
2yung4grey 2 weeks ago
This has been flagged as spam show
Your video went viral on Tokyo
jesscarey411 2 weeks ago
"...absolute value would be really difficult to program without a function" uh... if value lt 0 value * -1 else value. haha
iConformist 2 weeks ago
@iConformist dude i dont understand one think u just said, but i hope i do in the future :D
TheOnlyJKid 2 weeks ago
cool tuts!
minecast404 3 weeks ago in playlist More videos from thenewboston
First
MrNeemer 4 weeks ago
For the meaning of absolute numbers (for those of us with a poor maths education): An absolute number is what it would be if we disregard it's sign, -3 is 3, 3 is 3 OR how far away it is from zero, -3 is the same distance from 0 and 3 so they both have the same absolute value.. Look on Wikipedia, brilliant explanation.
Ashitaka255 4 weeks ago
@Ashitaka255 Thanks for the info! =D
AussieRaver1996 2 weeks ago
Wow i had bought a python book for kids and u just taught this better. How can a person thats not even being paid to do this make it easier to learn how to program than someone who is. I don't know, but keep make these videos!
LmfaoReviews 1 month ago
@LmfaoReviews thats true i downloaded a book to learn but i didin't understand a thing. i thought the video tutorial is more good to learn those programing languaches
Apope12341 1 month ago
well I'm like only 14 years old and HOPEFULLY not too young to learn this.... want to work with computer programs next time =/
Xoneize 1 month ago
@Xoneize im 13 and i hope to do the same :)
LmfaoReviews 1 month ago
Comment removed
Acceptable76 4 weeks ago in playlist Python Programming Tutorials
@Xoneize Stuff like python or Ruby is recommended if your 13/14... wish I'd have known that when I was 14, ended up learning VB.NET instead. I regret that decision
TheSturdge 3 weeks ago
19 people were thrown around the world.
XGoldGamingX 1 month ago in playlist Python Programming Tutorials
This video went viral on Taiwan
blaircolon36 1 month ago
γεια
davidmares00 1 month ago
print "first"
2cabs2toucan 1 month ago
Sorry for like double posting but how to remove numbers/functions from variable
StarsHero8 1 month ago
@StarsHero8 good question ,, hopefully bucky is not too busy to answer your questuion,, lol
salabiali 1 month ago
@StarsHero8 Why would you need to remove them? If you want the variable to do something else just assign something else. If you dont want that variable just don't use it. Simple as that, unless I'm wrong.
Pvmiguez 1 month ago
LOL Extra Crap You are awesome man! You actually talk clearly and explain well! Also funny :P
StarsHero8 1 month ago
@StarsHero8
i agree
channel102030405 1 month ago
he is soooooooooooo funny and good at this.
poet1235680 1 month ago
@GoglingStuff ye usin imaginary nubers wouldnt it use i
steveeliasbelabbas 1 month ago
"Get outta here box."
v1k1n95 1 month ago
y cant i do square root -1 to get i
steveeliasbelabbas 1 month ago
@steveeliasbelabbas negative numbers dont have square roots
GooglingStuff 1 month ago
look at kahn academy in computer science. also very useful
52islucky 1 month ago
This is great. Thanks so much for taking the time to put this up.
takforalt 1 month ago
I need some help! I know how to import but once I import I want to see the different functions in the module. I know this is dir(math) for example, but then how do I see a description of what each function in the module does? I know there is a way, I have done it before but I am not remembering how.
SpeakerFrequer 1 month ago
@SpeakerFrequer nm, figured it out... help('...') does it and help('modules') lists the built in modules... dur... brainfart :p
SpeakerFrequer 1 month ago
@bunvia click the TAB key.
xodnoob 1 month ago in playlist Python Programming Tutorials
How did you get the box to pop up after you did the math.sqrt?
bunviva 1 month ago
FIRST!!!!!
ehabcharek 1 month ago
I paused the video to do some practices with the floor function. the very next thing I tried was sqrt function.
gmaster351 2 months ago
You and Khan Academy have changed the way I learn. Thakns!
tectful 2 months ago in playlist Python Programming Tutorials
Last!!!
ryanorr15 2 months ago
abs is not difficult to program AT ALL. if x<0; 0-x=retval; return retval
aking1012 2 months ago
And now i know my ABDs XD!
adjgamer 2 months ago in playlist Python Programming Tutorials
aww, i used python for like 6 months and on my 2ndary school, they use borland c++ shit. :|
duskshadow1219 2 months ago
abs would be really difficult to program?? how about if a number is less than 0, multiply by -1?
azazelahh 2 months ago
Thanks man...very useful resource. But the problem is some these examples don't work on latest python (v 3.2). Still good work.
atulkakrana 2 months ago in playlist Python Programming Tutorials
@atulkakrana if you use pyscripter it will help you correct it for the lates version. in other words it will suggest what it thinks you mean for the current version. You can also run pyscripter under various versions up to I think 3.1
uraniumu242 2 months ago
@uraniumu242 What is Pyscripter?
ArswawWorldofWarcraf 2 months ago in playlist Python Programming Tutorials
"Extra crap"...Love it!
az100eletronics12 3 months ago in playlist Python Programming Tutorials
absolute value
GhostXoP 3 months ago
First!
videomakerforyuou 3 months ago
is this same on fedora 14's terminal
SuperAnand47 3 months ago
question bucky........how do u know what is contained in the modules. Is there some where that shows everything u can do for every module
donvitocorleone187 3 months ago
@donvitocorleone187 type help(module) ex. >>help(math) . it displays a man page of the modules
17171700 3 months ago
very similar to C++...instead of #include u use import...nice tutorial ;)
farfromearth182 3 months ago
Such a charismatic guy :) Makes watching these all the better.
Murphyalex 3 months ago 2
Comment removed
sin1987runescape 3 months ago
I find this easy to masturbate to.
CrazyShooter199 3 months ago
thank you!
twentyhead 4 months ago
How to CLS in python
skillet748 4 months ago
"So right now Python is just like looking at it and be like 'Floor ? What the heck are you talking about, what does that mean ?' "
- LOL
smoke489 4 months ago 2
@smoke489
Sorry I am kind of slow. I just realized that you were quoting another comment and not actually asking yourself.
PoorRichardSaunders 3 months ago
To find square root without math functions:
print (16**(1/2))
MAKE SURE TO replace 16 with what you want to find the sqrt of. Thumbs up so others see.
TheDarthNefarian 4 months ago in playlist Python Programming Tutorials 4
wam bam !!! :D
hello12913 4 months ago
First!!!
guerilathing 4 months ago
" In the last the tutorial I was throwing around the world. What?! The world?! I meant the word."
TSCSOUNDS 4 months ago 51
i love yr tuts.... it's easy to understanding....
yjundong 4 months ago in playlist TheNewBoston - Python
I'm going to start learning AP Programming in a few days, and i picked Python as my language, so for a head start i started learning before i go to class. Class begins in Tuesday, wish me luck. :D
This videos are really easy to understand by the way, i hope my class is like this. :P
PretendHome 5 months ago 36
@PretendHome though luck for me. My teachers only knew Pascal and BASIC.
DigGil1 3 months ago
@PretendHome So how is it?
Acceptable76 4 weeks ago in playlist Python Programming Tutorials
@PretendHome Good luck!
t94j00 2 weeks ago
Program within a program, FUNCTION
Desulat0r69 5 months ago
I like tutorials like this,i know much more now :)
mladenbla 5 months ago
thanks buckLy
stopmdot 5 months ago
AM i the only one who relizes how USELESS floor is if ur even the stightest bit good at math?
zwinky588 5 months ago 2
This guy is cool, moreso because he sounds like the cheerleader guy in dodgeball :)
irishmangiant 5 months ago
i'm learning more in an hour than in months of school. thanks man.
clab077 5 months ago in playlist TheNewBoston - Python
i fuckin love your tuts, seems like i can finally learn something <.< :D thanks alot
chrisrobertskogheim 5 months ago
if you type 'from math import *' you wont have to use math.floor() you can just use floor() :P
blackhat11907 5 months ago
what the heck is a "abd" i loled at that.
TecchyTutorials 5 months ago
Nerdgasm
MUTORIALS 5 months ago
Lol, the end was funny..so true though ;)
intensechap 5 months ago
Extra Crap!!!
owenw97 5 months ago 3
how did you open the box at 4:29 ??
phoshizzledrizzle 5 months ago
@phoshizzledrizzle ctrl + shift + space or wait for a while
kevinhkp 5 months ago in playlist Python Programming Tutorials
@phoshizzledrizzle ctrl+space for me
intensechap 5 months ago
can you do square roots
hamrwolf 5 months ago
Thankyou for these tutorials they have helped me becuase i have always wanted to be able to program in a type of languge such as python and you have helped keep making the videos thumbs up if you aggree
GameNexGenTactics 5 months ago
nice
vinumace 5 months ago
how do you know all these like abbreviations? like how do you do that box, cuz i wanna learn more than just sqrt and floor :P haha but i love your tutorials man, hella easy to understand :)
Thegoshjosh95 5 months ago
@Thegoshjosh95 Go to Edit on the tool bar then click Show Completions
Frequency31 5 months ago
pow(10,1000)
100000000000000000000000000000000000000000....0000L
what's the meaning of L????
masteringvbnet 5 months ago
You are the best teacher ever! I have watched 4 tutorials without getting a big headache :)
EvilzElmoz 5 months ago
lol that was stupid, hahaha. i didnt relize i could just type it myself ^^
danieldenfemte 6 months ago
can you type math in the python manual to see the owerview of all math functions?
danieldenfemte 6 months ago
"extra crap that's built into python" xD
phroggyy 6 months ago
@ScottRobot88 1rd? 1rd? it's FIRST!(or 1st) NOT 1rd!
klercke13 6 months ago
Is anyone else learning this for Blender? :D Yeah? :) Anyone...? Oh :(
spiceuvlife 6 months ago
@spiceuvlife I am learning it for blender =D
Ajvarxxr 6 months ago
best python tutorials ever!!!
1212sk84life 6 months ago
Awesome sunshine, i actually look like i know what i'm doing now :)
alistairjimmy91 6 months ago
Last!!!!
TheKakashi709 6 months ago
5:50 Square rrrt...
onafira 6 months ago
POWPOW
killer2611 6 months ago in playlist Python Programming Tutorials
holy fuck python made simple by bucky. ty very much sir.
killer2611 6 months ago in playlist Python Programming Tutorials
Floor... What the heck does that mean? My computer is confused right now...
caberwacky 6 months ago
BEST. TEACHER. EVAR!
TheMario8236 6 months ago 3
1234 likes! =)
ruchirsharma7 6 months ago
could you assign a variable to a module and function without importing it first?
s2pidmonkey 6 months ago
instead of assigning a variable to a function you can specify the function that you want from a module .
for example :
from math import sqrt
with this method you can simply say :
sqrt(81)
phonecpus 6 months ago
Which IDE is this guy using?
Jesusability 6 months ago
Comment removed
joonas2345 6 months ago
@Jesusability did you mean "IDLE"? if you did then 2.6.1 but you should use 2.7.2
joonas2345 6 months ago
@joonas2345 hehe thanks :)
Jesusability 6 months ago
Comment removed
randomguyalwayshere 6 months ago
me: floor(18.7)
Python': floor??!! what the hell is that??
runekri3 6 months ago
Module = Extra crap that is built into Python. GOT IT! :D Haha Thanks for making these videos!
eaglebaize 6 months ago
getoutofhere! baxx!
TheJackGoode 6 months ago
Lmao power abs
blkbearh2o 7 months ago
what is abs(-18)
pandelis14 7 months ago
@pandelis14 abs stands for absolute (value) and it represents a number's distance from zero on x axis. To do it quickly just remove th minus symbol if it has one. If not, the absolute of a number is itself
kmellos 6 months ago
you're the man dude. I'm in a remote area of the world and thanks to you I can learn this. Thanks SO much
juanfdoroman 7 months ago
omg! you are my hero...!
santirosaz 7 months ago
first!!!! Yes I got the first!!
coolman9999uk 7 months ago
I don't understand why you don't have to import math for pow() but you do for floor()
sleepersix 7 months ago
im making a replacement to husky express called sled crossing with python X3
ridinghorse123345666 7 months ago
I love programming! And I can't even make much of anything yet.
Krondelo 7 months ago
This has been flagged as spam show
BAM!! Thumbs up if you finished tutorial 4
remixxproduction 7 months ago
You are so awesome! :O
OppositionDept 7 months ago
get out of here box!
NaMeLeSssFaCeLeSss 7 months ago 79
but wait a minute... wouldnt 18.7 round up to 19 ?XD
pearl2k11 7 months ago
@pearl2k11
floor round down (cuts decimal off)
KrisThePolishman 7 months ago
What if I am trying to import something that does not exist to the program or is not recognized?
Addv3rsitY 7 months ago
dude i hate math, but now.....I THINK I LOVE IT O-O"
do11arswinner 7 months ago
The best teacher!
TheJuli1241 7 months ago
Pow! Bizzle Bizzle.
MarcusGlent 7 months ago 2
I'm watching these videos and taking notes. I pay more attention to this than in my actual class.
EvilGenius447 7 months ago 2
Lol turn on captions and have a laugh xd
LPSlasher 7 months ago
nice tutorial
sirius2012s 7 months ago
awesome video, thank you!
jtx8848 7 months ago
first!
liutenghou 7 months ago
"a module is pretty much extra crap that is built into python" lol
grizzlybayer 7 months ago 2
amazing can't thank u and ur work enough. keep it up
abeerashid1 7 months ago
I LOVE YOU
jaisonangeveettil 7 months ago
Good stuff, Bam!
crmfghtr 7 months ago
1st
SilentZV2 8 months ago
Awesome tutorials, the only problem is that i use 3,2 not a 2 version so i kinda have to learn a bit bit its no problem, great job
ploglo13 8 months ago
hey bro, i love this tutorial about functions and all, but i have one more question. At one point in the tut you spawned a whole list of functions. How do you get that?
hotrodzb 8 months ago
@hotrodzb from what happened to me, it happens after you use that import command and then try to use a function from the module you imported.
sailornaruto39 7 months ago
you are the most effective teacher i hbave ever seen... Bucky youare the man and i really want to know you more...thanks..
chiezecuize1 8 months ago
BAM!
TheIncredibleMass 8 months ago 60
"extra crap that's built into python" lol
key0bb 8 months ago
haha, "get outta here box!" 4:34
MichaelisOnYourtube 8 months ago
I love how "modules" are just "extra crap"....somehow I missed that back in '93 when I took CS101...lol.
x684867 8 months ago
thanks! it's descriptive! :))) x
psicosisROCKERe1 8 months ago
How do you get that suggestioner box? (I am on Python 2.6.6)
ServerBoost100 8 months ago
@ServerBoost100 I was wondering the same thing! Please let me know if you find out..
StrangerEight 8 months ago
lol abd
synclicious 8 months ago
@synclicious adb is actually a Program. It is "Android Device Bridge".
ServerBoost100 8 months ago
now I can use python like a calculator.
all math is done with this
cotorrafina 8 months ago
@cotorrafina rofl
Zeiterius 7 months ago
1st
xBMedkouri 8 months ago
Very nice series. Looking forward to watching the rest of these.
kvg784 8 months ago
get outa here box!
lol
2acox 9 months ago
Python rocks! I am going to start using Python
newdreamscreations 9 months ago
how do you bring up that box that shows you all the functions that you can do?
masterchief9064 9 months ago
Brilliant tutorials; I'm having fun and learning! Thought those two were supposed to conflict.
>>> Fun + Learning = ( x/0 )
ERROR Cannot divide by 0
Killtacboy 9 months ago
thks , great tut, better than profs ;)
fatihli21 9 months ago
Pfft! Who Needs Window's Built In Calculator When You Have Python To Do Your Homework!
:P
firetryer 9 months ago
there are15 stupids... too dumbs to understand this tutorial!
luisellys 9 months ago
Omg I love python, fuck c++
xyzdorky66 9 months ago
@xyzdorky66 lol I was thinking exactly the opposite
INTEL64GAMER 9 months ago
@INTEL64GAMER im lazy and decided i didnt want to finish c++, i not going to be a serious programmer
i wana work on cars for a career
xyzdorky66 9 months ago
@xyzdorky66 I have to say I love C after all I got started programming on Unix, but C++ has the most awkward implementation of Object Oriented Programming ever, XP
itachisxeyes 9 months ago
@itachisxeyes i kinda started on c but learned more c++ and it was a weird transition:P
c++ has alot of unnecessary code i have to type that python nor c doesnt. im prolly gonna keep using c ++ but python is really nice=]
xyzdorky66 9 months ago
i thought the pow functiuon was part of the math modual??
If this the case why can u use the pow function without importing math??
love ya shit mate keep it up :)
pozionmynd 9 months ago
@pozionmynd It is one of the built in functions.
docs.python.org/library/functions.html
Zeldakitteh 9 months ago
good teacher
shadikixcv 9 months ago
When he said pow i shouted "POW!"
chaoswolf715 9 months ago