https://www.codecademy.com/practice/projects/games-of-chance

I am completely lost, neither of my programs work and I just don’t know what to do. Please help!!!

```
import random
money = 100
num = random.randint(1, 2)
dice = random.randint(1, 6)
even = 2 or 4 or 6
odd = 1 or 3 or 5
#Write your game of chance functions here
def heads_or_tails(bet, guess):
if guess == 1 and num == 1:
return bet + money
elif guess == 2 and num == 2:
return bet + money
elif guess == 1 and num == 2:
return money - bet * -1
elif guess == 2 and num == 1:
return money - (bet * -1)
else:
return money - (bet * -1)
def Cho_Han(bet, guess):
if dice + dice == odd and guess == odd:
return money + bet
elif dice + dice == even and guess == even:
return money + bet
elif dice + dice == even and guess == odd:
return money - (bet * -1)
elif dice + dice == odd and guess == even:
return money - (bet * -1)
else:
return money - (bet * -1)
#Call your game of chance functions here
print(heads_or_tails(1, 2))
print(Cho_Han(100, odd))
```