Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def Reclass(Percent):
- if Percent >= 80:
- return 5
- elif Percent >= 60 and Percent < 80:
- return 4
- elif Percent >= 40 and Percent < 60:
- return 3
- elif Percent >= 20 and Percent < 40:
- return 2
- elif Percent >= 0 and Percent < 20:
- return 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement