Outputting a variable to the console in Python
To print the value of our variable, we need to use the print function:
test = 1
print(test) # 1
Print the variables you created in the last lesson to the console.
To print the value of our variable, we need to use the print function:
test = 1
print(test) # 1
Print the variables you created in the last lesson to the console.