/**
 * In a social services database, each social worker is assigned a unique ID.
 * Implement a function that generates a list of social worker IDs, using list comprehension.
 *
 * @param start The starting value of the range.
 * @param stop The ending value of the range.
 * @return A list of social worker IDs ranging from start to stop (both inclusive).
 *
 * Example:
 * generateSocialWorkerIds(100, 110) -> ['SW100', 'SW101', 'SW102', 'SW103', 'SW104', 'SW105', 'SW106', 'SW107', 'SW108', 'SW109', 'SW110']
 *
 * Note:
 * Every social worker ID should be in the format "SW" followed by the ID number.
 */
fun generateSocialWorkerIds(start: Int, stop: Int): List<String> {

    return (start..stop).map { "SW$it" }
}
/**
 * In a social services database, each social worker is assigned a unique ID.
 * Implement a function that generates a list of social worker IDs, using list comprehension.
 *
 * @param start The starting value of the range.
 * @param stop The ending value of the range.
 * @return A list of social worker IDs ranging from start to stop (both inclusive).
 *
 * Example:
 * generateSocialWorkerIds(100, 110) -> ['SW100', 'SW101', 'SW102', 'SW103', 'SW104', 'SW105', 'SW106', 'SW107', 'SW108', 'SW109', 'SW110']
 *
 * Note:
 * Every social worker ID should be in the format "SW" followed by the ID number.
 */
fun generateSocialWorkerIds(start: Int, stop: Int): List<String> {
/**
 * In a social services database, each social worker is assigned a unique ID.
 * Implement a function that generates a list of social worker IDs, using list comprehension.
 *
 * @param start The starting value of the range.
 * @param stop The ending value of the range.
 * @return A list of social worker IDs ranging from start to stop (both inclusive).
 *
 * Example:
 * generateSocialWorkerIds(100, 110) -> ['SW100', 'SW101', 'SW102', 'SW103', 'SW104', 'SW105', 'SW106', 'SW107', 'SW108', 'SW109', 'SW110']
 *
 * Note:
 * Every social worker ID should be in the format "SW" followed by the ID number.
 */
fun generateSocialWorkerIds(start: Int, stop: Int): List<String> {

    return (start..stop).map { "SW$it" }
}