Will this Run?: What would be the output of the following code?
x = 3
y = 2.5
z = 5
print(X + y / z)
x = 3
y = 2.5
z = 5
print(X + y / z)
name = Varma
print(type(name))
x = 3.5
print(float(int(x)))
2 more students C and D have come up as competitors to the Forum Leaderboard top scorers. You have to save all the information in these four vectors in a combined vector and combined data frame.
A_upvotes <- c(7, 3, 2, 8, 0, 4)
B_upvotes <- c(2, 1, 3, 4, 2, 4)
C_upvotes <- c(3, 2, 3, 4, 6, 2)
D_upvotes <- c(4, 2, 5, 3, 3, 1)
fun_square<- function(vector_in){
vector_out <- vector_in^2
return(vector_out)
}