What is wrong with this

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sat Feb 9 21:56:17 EST 2008


On Sat, 09 Feb 2008 16:44:52 -0800, nure123 wrote:

> Hi,
> 
> I am new to Python and would be grateful if anyone could tell me what is
> wrong with the following statement.
> 
> Y=array([1/S, 0*lam])
> 
> where
> S=[1, 2, 3, 4]
> lam=[5, 6, 7, 8]


Oh, a guessing game! I love guessing games.

Let's see now... did you actually want to do a Fourier transform of some 
data?

If not, perhaps you could tell us what you expected to happen, and what 
actually happened, so we can stop guessing and actually help.



-- 
Steven



More information about the Python-list mailing list