A
Q. What will be the output of the following R code?
> f <- function(num) {
+ for(i in seq_len(num)) {
+ cat("Hello, world!
")
+ }
+ }
> f(3)
- Correct Answer - Option(B)
- Views: 4
- Filed under category R Programming
- Hashtags:
Discusssion
Login to discuss.