0
Can you write an operation to a variable?
I want to make a calculator in python 3, but it doesn't seem to like operators (+, %, *, etc.) Anyone know a program that can?
1 Answer
+ 2
This should work:
a = 3 + 5
print(a)
If it doesn't, post minimal reproduction of your code, what you expect to happen, what happens instead, and the full error it generates, if any.