logo

Crowdly

> f <- function ( num = 1 ) { + hello <- "He...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

> f <- function(num = 1) {

+ hello <- "Hello, world!\n"

+ for(i in seq_len(num)) {

+ cat(hello)

+ }

+ chars <- nchar(hello) *

num

+

chars

+ }

> f()

100%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moovit.vit.ac.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!