diff options
| author | John R. Lenton <jlenton@gmail.com> | 2014-01-04 02:10:29 +0000 |
|---|---|---|
| committer | John R. Lenton <jlenton@gmail.com> | 2014-01-04 02:10:29 +0000 |
| commit | 6e1e98f8648d327098a03ce8d175c9854dd06cc8 (patch) | |
| tree | c3e6d7f6054259d00715a1a41b16757fc170947a /tests | |
| parent | 49fb6e53b35f991d79caadbb6320a39452944b4d (diff) | |
Implements list.reverse; fixes issue #66
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/basics/tests/list_reverse.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/basics/tests/list_reverse.py b/tests/basics/tests/list_reverse.py new file mode 100644 index 000000000..38acf1fd6 --- /dev/null +++ b/tests/basics/tests/list_reverse.py @@ -0,0 +1,5 @@ +a = [] +for i in range(100): + a.append(i) + a.reverse() +print(a) |
