1) What command is used to assign a value to a variable in Python? a) = b) := c) <- d) => 2) What data type is used for storing floating-point numbers in Python? a) int b) float c) str d) bool 3) Which operator is used in R to assign a value to a variable? a) = b) : c) <- d) := 4) Which keyword is used to define a function in Python? a) def b) function c) func d) defining 5) Which command in R prints "x is greater than 5" if the variable x is greater than 5? a) print(x > 5) b) if (x > 5) { print("x is greater than 5") } c) if x > 5: print("x is greater than 5") d) output(x > 5)

Introduction to Python and R - DIGIN PROJCT

Tauler de classificació

Estil visual

Opcions

Canvia de fonament

Restaurar desada automàtica: ?