You seem to have an ampersand character (&
) and a 2 followed by ampersand (2&
) at the start of your command lines. Try removing those.
Also, not sure what you expect this program to do since you are not even printing the result.
1 Like
Iām a beginner and I was following a tutorial of Mosh. But anyways thank you for the response
That is fine (everyone is a beginner at some point). I was just noting that it will print out nothing since you do not have a print statement.
Try wrapping your result in a print
call to actually see some output:
print(2 + 3)
Just to make it easier for you to verify it worked. Cheers!
2 Likes