Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105192
| From | "maurice.charbit@telecom-paristech.fr" <maurice.charbit@telecom-paristech.fr> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | why x is changed in the following program? |
| Date | 2016-03-18 10:09 +0100 |
| Message-ID | <mailman.309.1458296628.12893.python-list@python.org> (permalink) |
from numpy import random x=random.randn(6) y=x y[0]=12 print x[0] Maurice Charbit Emeritus Prof. mob.: 33 (0)6 5230 1171 tel.: 33 (0)1 4581 7178 fax: 33 (0)1 4581 7144 maurice.charbit@telecom-paristech.fr <mailto:maurice.charbit@telecom-paristech.fr> Adresse: Institut Mines-Telecom, 46, rue Barrault, 75014 Paris
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
why x is changed in the following program? "maurice.charbit@telecom-paristech.fr" <maurice.charbit@telecom-paristech.fr> - 2016-03-18 10:09 +0100 Re: why x is changed in the following program? Palpandi <palpandi111@gmail.com> - 2016-03-18 11:55 -0700
csiph-web