Beginner R
Q12 / 100

How do you create a sequence of numbers from 1 to 10?

Correct! Well done.

Incorrect.

The correct answer is D) Both seq(1, 10) and 1:10

D

Correct Answer

Both seq(1, 10) and 1:10

Explanation

Both "1:10" and "seq(1, 10)" generate the integer sequence from 1 to 10 in R.

Progress
12/100