mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-09 19:08:02 +00:00
Changed xrange to range to be compatible with Python 3.
This commit is contained in:
@@ -177,7 +177,7 @@
|
||||
" def test_push_on_full(self, num_stacks, stack_size):\n",
|
||||
" print('Test: Push to full stack')\n",
|
||||
" stacks = Stacks(num_stacks, stack_size)\n",
|
||||
" for i in xrange(0, stack_size):\n",
|
||||
" for i in range(0, stack_size):\n",
|
||||
" stacks.push(2, i)\n",
|
||||
" stacks.push(2, stack_size)\n",
|
||||
"\n",
|
||||
|
||||
Reference in New Issue
Block a user