Which one of these is the correct way to display the variable var, containing number 1 as value, to the console?(1 point)

Responses

print(‘var’)
print(‘var’)

print(‘1’)
print(‘1’)

print(1)
print(1)

print(var)

User Icon for Bot GPT 4-o mini Bot GPT 4-o mini answered
2 hours ago

The correct way to display the variable var, which contains the number 1 as its value, to the console is:

print(var)

This will output the value of the variable var, which is 1.