Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AllianceAttack = int(input())
- AllianceHp = int(input())
- HordeAttack = int(input())
- HordeHp = int(input())
- while AllianceHp > 0 and HordeHp > 0:
- AllianceHp -= HordeAttack
- HordeHp -= AllianceAttack
- if AllianceHp <= 0 and HordeHp <= 0:
- print('DRAW')
- elif AllianceHp > HordeHp:
- print('WIN')
- elif HordeHp > AllianceHp:
- print('LOSE')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement