On 2013-11-16 22:31, John Aten wrote:
Too bad that doesn't work.
No, it doesn't. Can you see why?
Attached is a version that does work but you'd be better served looking
at the two versions you already have and studying the error messages you
get when you run them.
On Nov 16, 2013, at 1
On 2013-11-17 00:47, Alan Gauld wrote:
On 17/11/13 05:16, Alex Kleider wrote:
On 2013-11-16 13:20, Byron Ruffin wrote:
def main(x, y, z):
print (x, y, z)
def funct():
x = 1
y = 2
z = 3
return x, y, z
main()
Can someone tell me why main is not being given any arguments?
On 17/11/2013 06:31, John Aten wrote:
Too bad that doesn't work.
On Nov 16, 2013, at 11:16 PM, Alex Kleider wrote:
On 2013-11-16 13:20, Byron Ruffin wrote:
def main(x, y, z):
print (x, y, z)
def funct():
x = 1
y = 2
z = 3
return x, y, z
main()
Can someone tell me why
On 17/11/13 05:16, Alex Kleider wrote:
On 2013-11-16 13:20, Byron Ruffin wrote:
def main(x, y, z):
print (x, y, z)
def funct():
x = 1
y = 2
z = 3
return x, y, z
main()
Can someone tell me why main is not being given any arguments?
Because you didn't give it any.
Try
main
Too bad that doesn't work.
On Nov 16, 2013, at 11:16 PM, Alex Kleider wrote:
> On 2013-11-16 13:20, Byron Ruffin wrote:
>> def main(x, y, z):
>> print (x, y, z)
>> def funct():
>> x = 1
>> y = 2
>> z = 3
>> return x, y, z
>> main()
>> Can someone tell me why main is not being
On 2013-11-16 13:20, Byron Ruffin wrote:
def main(x, y, z):
print (x, y, z)
def funct():
x = 1
y = 2
z = 3
return x, y, z
main()
Can someone tell me why main is not being given any arguments?
Because you didn't give it any.
Try
main(funct())
instead.
___
On 16/11/13 21:20, Byron Ruffin wrote:
def main(x, y, z):
print (x, y, z)
def funct():
x = 1
y = 2
z = 3
return x, y, z
main()
Can someone tell me why main is not being given any arguments?
Because somebody made a mistake.
I don't know if this is your code or som
> main()
>
> Can someone tell me why main is not being given any arguments?
Because you didn't write any there.
-nik
--
Wer den Grünkohl nicht ehrt, ist der Mettwurst nicht wert!
PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17 FD26 B79A 3C16 A0C4 F296
signature.asc
Description: Digital signature
def main(x, y, z):
print (x, y, z)
def funct():
x = 1
y = 2
z = 3
return x, y, z
main()
Can someone tell me why main is not being given any arguments?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription