Basics of Python,learning

Guido van Brakel guidovb1 at invalid
Sun Mar 16 12:25:26 EDT 2008


Hello

Why is this not working,and how can I correct it?

> #!/usr/bin/env python
> #coding=utf-8
> 
> z = raw_input ('Give numbers')
> y = z.split()
> b=[]
> 
> for i in y:
>      b.append(float(i))
> 
> def b(min,max,gem)
>     x=min(a)
>     x=gem(a)
>     x=max(a)
>     return a
>     
> print min(a)
> print max(a)
> print gem(a)



Regards,

-- 
Guido van Brakel
Life is like a box of chocolates, you never know what you're gonna get
-- 



More information about the Python-list mailing list