Created
June 13, 2012 04:27
-
-
Save gotnix/2921870 to your computer and use it in GitHub Desktop.
有交互的Python Hello World
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
| #!/usr/bin/python | |
| # coding=utf-8 | |
| def main(): | |
| name = raw_input("What's you name?\n\t") | |
| print("\n\tHello " + name + ", Welcome to Python World!") | |
| if __name__ == "__main__": | |
| main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment