Run the seq command with the range from the first ($1) to the second ($2) argument with the / separator.
Loops and sequences
String separation in seq
Report a typo
Sample Input 1:
6 10Sample Output 1:
6/7/8/9/10Write a program in Shell
#!/usr/bin/env bash
function solve() {
# put your code here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.