Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
26
Task/Loops-Wrong-ranges/Maple/loops-wrong-ranges.maple
Normal file
26
Task/Loops-Wrong-ranges/Maple/loops-wrong-ranges.maple
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Normal
|
||||
seq(-2..2, 1);
|
||||
|
||||
# Zero increment
|
||||
seq(-2..2, 0);
|
||||
|
||||
# Increments away from stop value
|
||||
seq(-2..2, -1);
|
||||
|
||||
# First increment is beyond stop value
|
||||
seq(-2..2, 10);
|
||||
|
||||
# Start more than stop: positive increment
|
||||
seq(2..-2, 1);
|
||||
|
||||
# Start equal stop: positive increment
|
||||
seq(2..2, 1);
|
||||
|
||||
# Start equal stop: negative increment
|
||||
seq(2..2, -1);
|
||||
|
||||
# Start equal stop: zero increment
|
||||
seq(2..2, 0);
|
||||
|
||||
# Start equal stop equal zero: zero increment
|
||||
seq(0..0, 0);
|
||||
Loading…
Add table
Add a link
Reference in a new issue