1
2
3
4
5
pub fn loops(start:u32,end:u32){
 for index in start..end+1 {
     println!("{}",index);
 }
}