This website works better with JavaScript.
Explore
Help
Sign In
SJ2050
/
machine-learning
Watch
1
Star
0
Fork
You've already forked machine-learning
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3f38b50e8b
master
dev
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '3f38b50e8b'
${ noResults }
machine-learning
/
homework_02_numpy_matplotlib
/
1-5
/
解题说明.md
295 B
Raw
Blame
History
Unescape
Escape
1.5 翻转数组
(1). 解题思路
python
中的列表数组等支持切片操作,并且切片操作中可以指定步长,如果步长为负,则倒着走,这里需要翻转数组,只需要把步长设为-1即可。
(2). 运行结果