The correct way to display the variable var
, which contains the number 1 as a value, to the console is:
print(var)
However, since you only provided choices and one of them is repeating, it appears the choice is:
- print(var) (appears two times, but is the correct option)
The other options would either print a string or the number directly, but would not reference the variable var
.