Hello everyone, I have the following doubt with the resolution of the problem of this kind, is it good practice to perform mathematical operations in python separating them by brackets or is it personal preference? https://gist.github.com/7bf11fb8212a357d854cd1992c5e3db9
Just having an experiment on this first lesson as I’m used to programming in Matlab and stata.
How come when I create variables with number values, I can’t then multiply the variables as I would be able to in other programs?
eg:
population = 68
average_age = 25
print(population * average_age)
I assume I’m missing a key function here but thought I’d ask anyhow!