[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Python Programming Tutorial – 31 – Tuples as Parameters
Comments
25 responses to “Python Programming Tutorial – 31 – Tuples as Parameters”
-
why we are using * at example (*tuna). ? there is no * in function
-
thanks man this video filled in a lot of holes in understanding so much of the python documentation!
-
mom and dad were passed to example 2 but dad:… mom:… was returned, what is the return order??
-
what a business strategy MR.Bucky u are making small timed videos and such multiple videos and hence increasing number of views for explaining the same concept and hence increasing u r view count individually for every of u r small video!!!
-
def example2(a):
print ab={'j'=2,'k=4','l'=10}
exqample2(b)this program also is printing dictionary…i dont understand significance of ** in this case
-
why is it always the second element is printed before first
-
BACON!
-
why not just print bacon?
-
for me it's much easier to define a dictionary with:
b = dict (mom=42,dad=44,bro=21)
btw thanks for the tutorials 🙂 -
MAN 12 TIMES THREE ISN'T 26!!!!
-
From naming my function 'ice cream' I learned that python does not take any spaces in a function name…. because cream was obviously an error and should be marked with red.
-
@shani_caspi PEMDAS is the order of operations taught in math.
-
@LcTricker, If a function returns a value, then you can have a variable receive that value, like this:
>>> def Example_Function():
return("Hello")>>> x = Example_Function()
>>> x
'Hello'Hope that helps.
-
Mr. Choudhury, you're a funny guy.
-
1. Basic maths, almost everyone knows
2. (Includes point 1) 5+7=12 -
It looks like someone had been watching pewdiepie too long. O.o
-
I dont understund what return doing??
Can someone explain me ?
-
You should try Bucky's go cart building videos
Maybe you will be able to beat red bull in f1 -
we can follow the same synatx/procedure to pass dictionary n list.
def myname(*list1):
print(list1);
list1={12,3,4,2,1}
myname(*list1) -
Wow…these tutorials are actually getting quite easy! Every time I've been asked to do something, I always work it a step further and get it right, stuff like knowing tp type example2(**bacon) to execute the program…It really feels like I'm learning something. 😀
-
Bucky no learn pemdas? ;p
-
3 people couldn't get roasted and toasted.
-
I dunno 😛 .. But I think you need to know alot about TCP/IP rite? ..sorry i am kind of a noob.. been motivated by anonymous since 14 of jan. 😛
-
Or you just learn the traffic.. and then later learn how to manipulate by using your knowlege and exp. 😛
-
Do you learn traffic manipulation in TCP/IP ? ..
Leave a Reply