Created
November 26, 2019 14:11
-
-
Save sudosanet/b401b94f523d15b3c54254de96baa597 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def get_campus(s=""): | |
| if s == "": | |
| return "Kamata/Hachioji" | |
| elif s.upper() in ["BS","CS","MS","ES"]: | |
| return "Hachioji" | |
| elif s.upper() in ["HS","DS"]: | |
| return "Kamata" | |
| else: | |
| return "Not found." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment