Computer scienceSystem administration and DevOpsCommand lineBash syntax

Loops and sequences

Simple loop output

Report a typo

Run the for loop over a range from the first argument ($1) to the second ($2):

Sample Input 1:

1 5

Sample Output 1:

Number: 1
Number: 2
Number: 3
Number: 4
Number: 5
Write a program in Shell
#!/usr/bin/env bash
function solve() {
# put your code here
}
___

Create a free account to access the full topic