Logo
Explore Help
Sign In
gaspersic/freeCodeCamp
1
0
Fork 0
You've already forked freeCodeCamp
Code Issues Pull Requests Projects Releases Wiki Activity
freeCodeCamp/curriculum/challenges/chinese/08-data-analysis-with-python/numpy/copying-arrays-warning.md

44 lines
413 B
Markdown
Raw Normal View History

fix: QA/Infosec update and python to chinese
2020-08-13 12:00:20 +02:00
---
id: 5e9a0a8e09c5df3cc3600ed7
challengeType: 11
videoId: iIoQ0_L0GvA
feat(curriculum): restore seed + solution to Chinese (#40683) * feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-13 03:31:00 +01:00
dashedName: copying-arrays-warning
fix: QA/Infosec update and python to chinese
2020-08-13 12:00:20 +02:00
---
chore(learn): Applied MDX format to Chinese curriculum files (#40462)
2020-12-16 00:37:30 -07:00
# --question--
## --text--
What is the value of `a` after running the following code?
```py
import numpy as np
a = np.array([1, 2, 3, 4, 5])
b = a
b[2] = 20
```
## --answers--
```python
[1 2 3 4 5]
```
---
```python
[1 2 20 4 5]
```
---
```python
[1 20 3 4 5]
```
## --video-solution--
2
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 203ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API