How to use two variables in a python boolean statement?
I am making a tycoon game, and you get money by adding your money to your earnings. I tried to put this in a function, but when I run it, nothing happens. I know that I could manually change add the money to the earnings, but it would be good to know how to do it this way. Thanks in advance!
Voters
you need to return it lol
otherwise python doesn't do anything with the expr
@Coder100 oh, my bad lol. Thanks!
@Coder100 that didn't work.
@bwoop lol did you forget to call the function
@Coder100 no i did not. You won't find it in the code now, because i decided to manually do it, but when it was there, it didn't work.
well it would be always false just saying @bwoop
@Coder100 ok