Newbie needing help (only been learning for a week, so sorry if I get all the terminology wrong here)!
I'm trying to make a simple heads/tails game in Python 3 (using PyCharm). You start with a wallet and then make a guess and a bet. There's a random coin toss (using random integer generator). If the guess is right, the bet is added to the wallet (and vice versa).
Problem is that when I call the function I get the output I was expecting in the console, followed by 'None' on a separate line. I assume this is something to do with Boolean expressions but don't know what I'm doing wrong.
The console will print something like this (it's random so changes every time I run the program):
Correct, it was heads. Your wallet is now worth £200
None
Correct, it was tails. Your wallet is now worth £250
None
Does anyone know why I'm getting 'None' as well?