Solved
Logic to print the numbers between two numbers
Hi,
How can I print the numbers between two numbers.
Eg: Number 1 = 1, Number 2 = 5.
Expected output 2,3,4
Kindly help. Thanks in Advance
Hi,
How can I print the numbers between two numbers.
Eg: Number 1 = 1, Number 2 = 5.
Expected output 2,3,4
Kindly help. Thanks in Advance
Hm ... I'll explain how this works. Then you will be able to adjust things as needed.
enumerate() creates a list of number starting with zero going to n-1. Now you can use Appian internal magic by adding a base offset to this list, meaning the base will be added to each item in the list created by enumerate().
In your case, you will need to modify the offset. Does that help?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.