Created
October 7, 2017 14:53
-
-
Save xieyuheng/7c917126482fafcea0f3851645de9fbd to your computer and use it in GitHub Desktop.
This file contains 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
''' | |
- the challenge 1 - | |
write a module called 's1.py' | |
to implement a function called 'get_current_module' | |
that can pass the following assertion | |
''' | |
import s1 | |
import sys | |
m1 = s1.get_current_module() | |
m2 = sys.modules[__name__] | |
assert m1 == m2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment