I would like to loop through each of the below variables and print the name of the variable (for example "variable1") but also print the variable value (for example 5) in the log. Any help would be appreciated, thanks

```
variable1 <- 5
variable2 <- 3
variable3 <- 1

variable_list <- c("variable1", "variable2", "variable3")

for (i in variable_list) {
  print(i)
}

```