Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def homeDrawAwayOver() :
- i = 0
- while i < len(one) or i < len(two):
- if (one[i] > two[i] and one[i] + two[i] > 1.5):
- print("home won and over 1.5")
- elif(one[i] > two[i] and one[i] + two[i] > 2.5):
- print("home won and over 2.5")
- elif(one[i] == two[i] and one[i] + two[i] > 1.5):
- print("draw won and over 1.5")
- elif(one[i] == two[i] and one[i] + two[i] > 2.5):
- print("draw won and over 2.5")
- elif(two[i] > one[i] and one[i] + two[i] > 1.5):
- print("away won and over 1.5")
- elif(two[i] > one[i] and one[i] + two[i] > 2.5):
- print("away won and over 2.5")
- else:
- homeDrawAwayUnder()
- i += 1
- def homeDrawAwayUnder() :
- j = 0
- while j < len(one) or j < len(two):
- if (one[j] > two[j] and one[j] + two[j] < 2):
- print("home won and under 1.5")
- elif(one[j] > two[j] and one[j] + two[j] < 3):
- print("home won and under 2.5")
- elif(one[j] == two[j] and one[j] + two[j] < 2):
- print("draw won and under 1.5")
- elif(one[j] == two[j] and one[j] + two[j] < 3):
- print("draw won and under 2.5")
- elif(two[j] > one[j] and one[j] + two[j] < 2):
- print("away won and under 1.5")
- elif(two[j] > one[j] and one[j] + two[j] < 3):
- print("away won and under 2.5")
- else:
- print("on the over side")
- j += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement