Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def goodVsEvil(good, evil):
- good = [1,2,3,3,4,10]
- evil = [1,2,2,2,3,5,10]
- #Two strings; each string has a space-separated list of numbers.
- if good > evil:
- return "Battle Result: Good triumphs over Evil"
- elif evil > good:
- return "Battle Result: Evil eradicates all trace of Good"
- elif evil == good:
- return "Battle Result: No victor on this battle field"
- goodVsEvil(good,evil)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement