R_Prac-3.r (227B)
1 # Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 25 Mar 2026 2 # Repo: https://github.com/notamitgamer/bsc 3 # License: MIT 4 5 # Print elements of vector using for loop. 6 7 sample <- c(1:6) 8 for(elem in sample) { 9 print(elem) 10 }