I'm trying to print the result of an equation but it's giving me a syntax error, can someone tell me what I'm doing wrong?
Here's the code:
num1 = 19
num2 = 35
print("hello the result of the sum is:" num1 + num2)
Thanks in advance.
I'm trying to print the result of an equation but it's giving me a syntax error, can someone tell me what I'm doing wrong?
Here's the code:
num1 = 19
num2 = 35
print("hello the result of the sum is:" num1 + num2)
Thanks in advance.
You must separate with commas ( , ) each one of the values to print
num1 = 19
num2 = 35
print("hello the result of the sum is:" , num1 + num2)