fn main() { for i in 1..=10 { print!("{}{}", i, if i < 10 { ", " } else { "\n" }); } }